summaryrefslogtreecommitdiff
path: root/libs/androidfw/misc.cpp
diff options
context:
space:
mode:
author wilsonshih <wilsonshih@google.com> 2023-12-18 07:51:48 +0000
committer wilsonshih <wilsonshih@google.com> 2024-02-19 06:04:27 +0000
commit6a49b929613e3a1dcf06cf96b1c0d42675647387 (patch)
tree14c8c428e81c7299ada937f41fbc27807b4b2471 /libs/androidfw/misc.cpp
parentb23955e748b0d2f273bc9a3fd8441e5b27f85197 (diff)
Use single snapshot when predictive back opens two adjacent activities
For predictivie back, when previous target are two adjacent activities, use the snapshot or splash screen to occludes them like normal starting window. When gesture trigger and close transition ready, reparent the starting surface to task, so the starting surface can play remove animation. Bug: 274997067 Test: launch two adjacent task fragments, launch another fullscreen activity, trigger predictivie back. Verify no flickering when either trigger gesture back or cancel. Test: atest BackNavigationControllerTests Change-Id: I03cafe39c7ad99e4c76be6c325a45f4c2b52cb26
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions