diff options
author | 2024-07-26 04:51:06 +0000 | |
---|---|---|
committer | 2024-07-30 03:24:28 +0000 | |
commit | f68351c7406a3dad761b4097cfdc89c617af6a16 (patch) | |
tree | 3c212b59befb3aa580dcf1803fa06239f936498d /proto/src/windowmanager.proto | |
parent | 4d1af3ab267cfa6684c8b537f99bb17dce483d61 (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 'proto/src/windowmanager.proto')
-rw-r--r-- | proto/src/windowmanager.proto | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/proto/src/windowmanager.proto b/proto/src/windowmanager.proto index da4dfa98401e..6c8a4864ded2 100644 --- a/proto/src/windowmanager.proto +++ b/proto/src/windowmanager.proto @@ -45,6 +45,7 @@ message TaskSnapshotProto { int32 letterbox_inset_top = 18; int32 letterbox_inset_right = 19; int32 letterbox_inset_bottom = 20; + int32 ui_mode = 21; } // Persistent letterboxing configurations |