AnsweredAssumed Answered

Default display orientation in Android 8

Question asked by Thomas Elste on Apr 3, 2018
Latest reply on Sep 4, 2019 by Joey Goncalves



on an i.MX6 SabreSD based board using the Android O8.0.0 release I'm trying to change the default display orientation to portrait mode.


Up until Android 7.1.2 this could be done setting ro.sf.hwrotation to 270 in the init.rc. Though an additional patch was needed, to rotate the touch input, too. But this doesn't work any more.


Is there another way to set the default display orientation?


Thank you and best regards