Merge "Fixing transaction applier holding on to the release check if no frame update was scheduled" into tm-dev

This commit is contained in:
Sunny Goyal
2022-05-16 17:52:11 +00:00
committed by Android (Google) Code Review

View File

@@ -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) {