AnsweredAssumed Answered

Android 6 - rotate display before start bootanim

Question asked by Andrzej Dziedzic on Feb 20, 2019
Latest reply on Apr 28, 2019 by Andrzej Dziedzic


I have a device with i.MX6 and Android 6, it uses the accelerometer to rotate display.


The problem is when device starts in the upside down orientation:

- bootanim is shown,

- Launcher app starts, inside onCreate() the app sets a reverse orientation (this is not visible as bootanim is still visible),

- bootanim is closed - after that Launcher app is shown, but for a short time is visible in a normal orientation until Android rotates the screen.


Is there any way to rotate Android display at the beginning, before start bootanim?