Handle auto-rotate setting is being set while device-state is unavailable
After the device is booted, it may be possible for device state update to come in after a delay. To be able to honour incoming requests while device state stays missing, we should queue them. Later, when we finally receive current device state, we can process all requests in the queue(realistically in worst case a couple of requests). Fixes: 413639166 Flag: com.android.window.flags.enable_device_state_auto_rotate_setting_refactor Test: atest DeviceStateAutoRotateSettingControllerTests Change-Id: Ied82fd784ff150f2ad60af46bc1a8dbd408090f1
Loading
Please register or sign in to comment