IMX6S display rotation issue on Android

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IMX6S display rotation issue on Android

799 Views
mohamedthalibha
Contributor III

We have a custom IMX6S device in which Android 4.4.2 is running,

The devices default LCD display is landscape, but we want it be in portrait mode as default.

We used property ro.sf.hwrotation in init.rc file to rotate the screen to and get the portrait layout.

setprop ro.sf.hwrotation 270

The problem is when a USB keyboard is connected or disconnected the screen momentarily flips/rotates to landscape layout and then restores back.

Can some one advice how and where to fix this issue.

Thanks in advance,

Labels (4)
0 Replies