Dear All,
I wanted to change the display orientation of iMX8 Quadmax MEK Android Automotive 11.
However, the default orientation seems to fixed for landscape mode only.
I tried to change using below command and as well as programtically.
adb shell settings put system user_rotation 0
Anyways, the HOME app launches in landscape mode only for a brief period of time before changing to portrait mode. In emulator, it works fine as expected.
Any help?
DisplayRotation
mCurrentAppOrientation=SCREEN_ORIENTATION_UNSPECIFIED
mLastOrientation=-1
mRotation=0 mDeferredRotationPauseCount=0
mLandscapeRotation=ROTATION_0 mSeascapeRotation=ROTATION_180
mPortraitRotation=ROTATION_270 mUpsideDownRotation=ROTATION_90
mSupportAutoRotation=true
mCarDockRotation=-1 mDeskDockRotation=-1
mUserRotationMode=USER_ROTATION_FREE mUserRotation=ROTATION_0 mAllowAllRotations=unknown
mDemoHdmiRotation=ROTATION_0 mDemoHdmiRotationLock=false mUndockedHdmiRotation=-1
mLidOpenRotation=-1
mFixedToUserRotation=true
Solved! Go to Solution.
Dear Igor,
Thank you very much for your prompt reply.
I understand that your patch applies directly to Kernel.
However, I solved it using a simple patch with modification to SurfaceFlinger. Let me attach the patch for your reference and for the community.
Best regards
Libin Jose.
Hi Libin
rotation patch was sent via mail.
Best regards
igor
Dear Igor,
Thank you very much for your prompt reply.
I understand that your patch applies directly to Kernel.
However, I solved it using a simple patch with modification to SurfaceFlinger. Let me attach the patch for your reference and for the community.
Best regards
Libin Jose.