Introduce separate rotation lock settings per device state.
This will be flagged with config_perDeviceStateRotationLock. If true, a distinct rotation lock settings can be maintained for each device state. Some device states won't need their own rotation lock setting and in those cases, the setting of the previous device state will be used. The existing global setting "Settings.System.ACCELEROMETER_ROTATION" still works the same and reflects the setting for the currently active state. Test: atest SystemUiTests:RotationLockControllerImplTest Test: atest SystemUiTests:DeviceStateRotationLockSettingControllerTest Bug: 183001527 Change-Id: I1cbcfae7db7c01745ea7ad665432f8651d8f1546
Loading
Please register or sign in to comment