summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author wilsonshih <wilsonshih@google.com> 2024-07-26 04:51:06 +0000
committer wilsonshih <wilsonshih@google.com> 2024-07-30 03:24:28 +0000
commitf68351c7406a3dad761b4097cfdc89c617af6a16 (patch)
tree3c212b59befb3aa580dcf1803fa06239f936498d /libs/androidfw/StringPool.cpp
parent4d1af3ab267cfa6684c8b537f99bb17dce483d61 (diff)
[PB] Do not show snapshot if uiMode has changed.
- Record uiMode in TaskSnapshot. - While preparing predictive back animation, if the uiMode of snapshot is not match activity's uiMode, fallback to use splash screen surface. - Draw windowless splash screen with latest theme & configuration. Flag: EXEMPT bugfix Bug: 351119448 Test: follow issue description, switch dark/light theme then trigger predictive back, verify no serious contrast changes. Test: atest SnapshotDrawerUtilsTest StartingSurfaceDrawerTests ActivityTaskManagerThumbnailLoaderTest ActivitySnapshotControllerTests TaskSnapshotPersisterLoaderTest Change-Id: I8c3b4e9444e5cfacf21c97da3b0d13c1ef76fcf3
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions