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

Commit 2d902840 authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Merge cherrypicks of ['googleplex-android-review.googlesource.com/24016743'] into udc-release.

Change-Id: If4517c50646f842471ddb86476d8b2ea57fe74fe
parents 2ae06da5 2018c32e
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -712,6 +712,14 @@ class Transition implements BLASTSyncEngine.TransactionReadyListener {
            mFlags |= WindowManager.TRANSIT_FLAG_INVISIBLE;
            return;
        }
        // Activity doesn't need to capture snapshot if the starting window has associated to task.
        if (wc.asActivityRecord() != null) {
            final ActivityRecord activityRecord = wc.asActivityRecord();
            if (activityRecord.mStartingData != null
                    && activityRecord.mStartingData.mAssociatedTask != null) {
                return;
            }
        }

        if (mContainerFreezer == null) {
            mContainerFreezer = new ScreenshotFreezer();