Merge "Fix dialog exit animation" into tm-dev am: f76ef62d1a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17124623 Change-Id: I69a4213212fdc705a949cadb9d863f9a205fd2ff
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user