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

Commit eb104ad9 authored by Sunny Goyal's avatar Sunny Goyal
Browse files

Adding surface-release check for live-tiles

Bug: 181615944
Test: Will wait for newer more bugreports
Change-Id: If82efbfa738ceb9890a9994607b13fd2bde096c4
parent c874ccc1
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2937,6 +2937,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);