commit | e9275cae2e3edb2d5728dcefd39d75ba198d1949 | [log] [tgz] |
---|---|---|
author | Robin Lee <rgl@google.com> | Fri Mar 31 14:29:24 2023 +0200 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Mar 31 22:58:23 2023 +0000 |
tree | a14bf57e5f49f22d92ff670bd2dc85823677ec03 | |
parent | 66a8088f989363d920734e76ab03cbcfd040e461 [diff] |
Run keyguard occlusion update after transitions Earlier code was calling applyKeyguardOcclusionChange as soon as the transition starts, which is not very effective because some of the transitions only update keyguard occluded state at the end of the animation and race behind this call. If we wait for all transitions to finish playing before validating keyguard occlusion, the last word always comes from applyKeyguardOcclusionChange which synchronises the source of truth in KeyguardController over to SystemUI. Test: atest android.server.wm.KeyguardTests Bug: 275650364 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:140a05907d905e38aa5690320d26c90ca29bf772) Merged-In: I016b72b87baadb63f3f5f83112901315f29d2f0a Change-Id: I016b72b87baadb63f3f5f83112901315f29d2f0a