B,then press back k" /> B,then press back k" /> B,then press back k"/>

screenOrientation abnormal in huawei P20

52 Views Asked by At

Activity A , B android:screenOrientation="sensorLandscape" in A; android:screenOrientation="sensorPortrait" in B;

startActivity A->B,then press back key to Activity A , A's orientation will First vertical screen and then horizontal screen,and activity A's onConfigurationChanged method invoke twice.

It should be directly turned into a horizontal screen. Why is this happening?

1

There are 1 best solutions below

0
RainYang On

Upgrade the device system to solve the issue!