We're running Android 9.0 on IMX8MINI. We had a display screen, without gravity sensor.
There're 2 different customer's products for this:
1. One customer wants to have the launcher on the screen displayed in Portrait
2. The other customer wants to let it in Landscape.
We knew changing the AndroidManifest.xml in Launcher3 APK may work. But we're seeking if there's any config-able way to set this(such as modify the product BoardConfig.mk, modify some kind of property value, or something else), because we want to using the same source code, as we have many customers, we can't do this with different source code.
Please try to add "ROTATION := 90" or 270 into BoardConfig.mk.