From 46254675da2096c6d62c007a4320bcead970448d Mon Sep 17 00:00:00 2001 From: Sunny Goyal Date: Thu, 12 May 2022 16:51:17 -0700 Subject: [PATCH] Fixing transaction applier holding on to the release check if no frame update was scheduled Bug: 232039826 Test: Verified locally Change-Id: I4face3ceb5985ea71ff718ddc732e6196c934bf4 --- .../com/android/quickstep/util/SurfaceTransactionApplier.java | 1 + 1 file changed, 1 insertion(+) diff --git a/quickstep/src/com/android/quickstep/util/SurfaceTransactionApplier.java b/quickstep/src/com/android/quickstep/util/SurfaceTransactionApplier.java index 3b1c150563..4757d4bc7d 100644 --- a/quickstep/src/com/android/quickstep/util/SurfaceTransactionApplier.java +++ b/quickstep/src/com/android/quickstep/util/SurfaceTransactionApplier.java @@ -53,6 +53,7 @@ public class SurfaceTransactionApplier extends ReleaseCheck { mTargetViewRootImpl = targetView.getViewRootImpl(); mBarrierSurfaceControl = mTargetViewRootImpl.getSurfaceControl(); mApplyHandler = new Handler(this::onApplyMessage); + setCanRelease(true); } protected boolean onApplyMessage(Message msg) {