Merge "Fix dialog exit animation" into tm-dev

This commit is contained in:
Rob Carr
2022-03-10 16:01:29 +00:00
committed by Android (Google) Code Review

View File

@@ -3448,6 +3448,12 @@ public final class ViewRootImpl implements ViewParent,
mReportNextDraw = false;
pendingDrawFinished();
}
// Make sure the consumer is not waiting if the view root was just made invisible.
if (mBLASTDrawConsumer != null) {
mBLASTDrawConsumer.accept(null);
mBLASTDrawConsumer = null;
}
}
}