Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit da7a8936 authored by Wei Sheng Shih's avatar Wei Sheng Shih Committed by Android (Google) Code Review
Browse files

Merge "Exclude windowless starting surfaces from non-predictive-back transition" into main

parents b614581c e76f53e9
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -1357,8 +1357,10 @@ class BackNavigationController {
        }

        boolean isStartingSurfaceDrawn(ActivityRecord activity) {
            // Check whether we create windowless surface to prepare open transition
            if (!mComposed || mOpenAnimAdaptor.mPreparedOpenTransition == null) {
            // Check whether a windowless surface is created to prepare for the predictive
            // back transition.
            if (!mComposed || mOpenAnimAdaptor.mPreparedOpenTransition == null
                    || !mOpenAnimAdaptor.mPreparedOpenTransition.isCollecting()) {
                return false;
            }
            if (isTarget(activity, true /* open */)) {