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

Commit 4b162b13 authored by Sunny Goyal's avatar Sunny Goyal Committed by Android (Google) Code Review
Browse files

Merge "Adding surface-release check for live-tiles" into sc-dev

parents 84a1e409 eb104ad9
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -3048,6 +3048,9 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T
            RecentsAnimationTargets recentsAnimationTargets) {
        mRecentsAnimationController = recentsAnimationController;
        if (recentsAnimationTargets != null && recentsAnimationTargets.apps.length > 0) {
            if (mSyncTransactionApplier != null) {
                recentsAnimationTargets.addReleaseCheck(mSyncTransactionApplier);
            }
            mLiveTileTaskViewSimulator.setPreview(
                    recentsAnimationTargets.apps[recentsAnimationTargets.apps.length - 1]);
            mLiveTileParams.setTargetSet(recentsAnimationTargets);