summaryrefslogtreecommitdiff
path: root/libs/androidfw/AttributeResolution.cpp
diff options
context:
space:
mode:
author Nick Chameyev <nickchameyev@google.com> 2022-02-23 12:44:52 +0000
committer Nick Chameyev <nickchameyev@google.com> 2022-02-23 12:44:52 +0000
commit9f017c7fdf5002498509056961ffdf4ec9fd4834 (patch)
treeab93dc64217265a9dd9c311dd7d22f658ad33f45 /libs/androidfw/AttributeResolution.cpp
parentddb497d64adab4c6b7039429ff483473a3879df9 (diff)
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
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions