diff options
| author | 2023-06-28 16:12:06 +0100 | |
|---|---|---|
| committer | 2023-06-28 15:19:18 +0000 | |
| commit | 574367ed8158156c6a17d4ca260a0651dcdfbc04 (patch) | |
| tree | 7dbd06217bf97854528ebf6e438926f75d8a8e4b /libs/androidfw/FileStream.cpp | |
| parent | 43d8d44eb7d518fba2d55422c2a0892f5b006b77 (diff) | |
Fix media being stretched during the wake-up/unlock animation
This happened only on large screens/split shade, and when there was an
explicit delay to play the doze wake up animation.
During this delay, the device will not be in the "dozing" state anymore,
therefore media was showing up, but the rest of the keyguard was still
positioned as if it was in the "dozing" state, centered, and using the
full width of the screen. Since media is a child view of keyguard on
large screens, it was also using the full width of the screen.
The fix is to keep media hidden during this delay.
Fixes: 283479104
Test: KeyguardMediaControllerTest.kt
Test: NotificationPanelViewControllerTest.java
Change-Id: Id004a74d95e66e7f33ef52aca0dc655db767b893
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions