IMX8 Quadmax MEK Android Automotive 11 always displays in landscape mode

cancel
Showing results for 
Search instead for 
Did you mean: 

IMX8 Quadmax MEK Android Automotive 11 always displays in landscape mode

Jump to solution
65 Views
Jose1985
Contributor III

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

0 Kudos
1 Solution
51 Views
Jose1985
Contributor III

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.

View solution in original post

0 Kudos
2 Replies
58 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi Libin

 

rotation patch was sent via mail.

 

Best regards
igor

0 Kudos
52 Views
Jose1985
Contributor III

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.

View solution in original post

0 Kudos