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
Loading
Please register or sign in to comment