summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetManager.cpp
diff options
context:
space:
mode:
author wilsonshih <wilsonshih@google.com> 2024-09-04 17:13:38 +0800
committer wilsonshih <wilsonshih@google.com> 2024-09-04 12:16:00 +0000
commitb9bbbacc630e268768d0195fde9c878c7e9b45bc (patch)
tree9a771489779d0e3c8134bb163848d7718baf132e /libs/androidfw/AssetManager.cpp
parent61dfb4a024feb86ea3bc5c4c3d9f67f963c8a22c (diff)
[PB] Preventing wallpaper become empty after merge transition.
While BackHandler failed to merge second transition and forward the transition to next handler, exclude the wallpaper from merge into the second transition, otherwise the wallpaper might become empty because the wallpaper isn't a target in the second transition. The wallpaper cannot be reparent back to display because core didn't prepare that transaction in Transition#buildFinishTransaction. Also preventing from loop calls in applyFinishOpenTransition: onTransitionFinished -> Transitions#playTransition -> applyFinishOpenTransition again, although the second calls will be break in Transitions#onFinish, but shouldn't let it happen. Flag: com.android.window.flags.migrate_predictive_back_transition Bug: 363922376 Test: set default home to 3rd-party launcher, launch app then trigger back gesture. Change-Id: I13554424da632f53e765401272e5670b76c71e99
Diffstat (limited to 'libs/androidfw/AssetManager.cpp')
0 files changed, 0 insertions, 0 deletions