Skip to content
Commit 9f017c7f authored by Nick Chameyev's avatar Nick Chameyev
Browse files

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
parent ddb497d6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment