Support dream starting in landscape on mobile
This change enables dream to start in the phone's current orientation regardless of auto-rotation setting. In NotificationShadeWindow, update layout orientation to SENSOR when keyguard starts transitioning to dream or finishes on dream, preventing an intermediate rotation to portrait during the transition. Apply the same update to the glanceable hub, setting its layout orientation to SENSOR as well. Fixes: b/394842694 Fixes: b/402193097 Test: atest NotificationShadeWindowControllerImplTest Test: atest NotificationShadeWindowModelTest Flag: android.service.dreams.dreams_v2 Change-Id: I2d5253250ce91336d0c874d34d8c887bda6205e9
Loading
Please register or sign in to comment