diff options
| author | 2024-11-01 07:23:52 +0000 | |
|---|---|---|
| committer | 2024-11-01 07:43:00 +0000 | |
| commit | 19c761e2a4f0a471e29c8b8ed1ce8d6d8c3a017c (patch) | |
| tree | 7bd3ccde1ded1a00bf2f1dc52ef0c2a9c2297b82 /opengl/java | |
| parent | 428aef405975f5e07e8e47afaf91823ea3c338a4 (diff) | |
Defer PB animation if previous window cannot show with snapshot.
Disables the `always_capture_activity_snapshot` flag to mitigate
performance regressions and conserve system resources.
With this strategy, the system always makes the previous activity
visible if no snapshot is available. This also defers the predictive
back transition because the system won't add a splash screen window,
which could make the user perceive a lack of immediate feedback during
the transition.
Bug: 362183912
Bug: 374621014
Flag: com.android.window.flags.defer_predictive_animation_if_no_snapshot
Test: simulate the case on b/360782826. Launch several activities with
doesn't opt-in predictive back feature but let the top activity opt-in.
Verify user won't see black screen while back animation start.
Change-Id: I069a5d4a28375554d8e15d43c9ca91c36b7b2a4e
Diffstat (limited to 'opengl/java')
0 files changed, 0 insertions, 0 deletions