Loading
Apply new keyguard orientation when it becomes non-rotatable
Notification shade window didn't update its orientation layout params sometimes when switching displays, it worked only if there was a coincidental call about other state change right after display switch. Added explicit applying of the state if the value of the resource that shows if the rotation is allowed has changed. Bug: 216622540 Test: atest com.android.systemui.statusbar.phone.NotificationShadeWindowControllerImplTest Test: manually fold several times from portrait orientation on the inner screen to AOD screen Change-Id: Ic071a614df33386796881029a17b55eb989e40d5