summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetManager.cpp
diff options
context:
space:
mode:
author Robin Lee <rgl@google.com> 2025-02-26 23:31:24 +0100
committer Robin Lee <rgl@google.com> 2025-02-26 23:31:24 +0100
commit2b6b43a11b28996b514f1d36a389fd9c3736f5aa (patch)
tree86c4c2c90e4915b13123d21aa913b93d2f8d5b70 /libs/androidfw/AssetManager.cpp
parentc396ff181fce9cd7e1dd8f75d40f6845915d0bf0 (diff)
Reland: Implements the aod appearing transition
This is to show lock wallpaper according to transition lifecycle. WmCore requests the appearing transition when aod is showing. And then, transition collects all wallpapers including system and lock. KeyguardService can apply cross-fade animation for wallpapers. Also, separate the aod appearing and keyguard appearing transition. When aod is changed without keyguard changed, keyguard appearing flag is set unnecessarily. This may confuse keyguard service. Also, when aod changes while feature is turned off, keyguard appearing transition may operate causing problems. We only enable code to send keygaurd appearing. if keyguardChanged and only enable code to send aod if aodChanged. This is more in line with what the original code was doing and wouldn't introduce any new behavior with the flag turned off. It is related to commit 649a78d26457ed86457edcc0474ce8ffe83e7471 Bug: 361438779 Test: Manual: feature off; turn screen off to go aod state Test: Manual: Setup lock wallpaper; Turn screen off to go aod state Flag: com.android.window.flags.aod_transition Change-Id: I6f0067de2a754c25515a6cc4bc8c9dcfb78ede80
Diffstat (limited to 'libs/androidfw/AssetManager.cpp')
0 files changed, 0 insertions, 0 deletions