Merge "Fix dialog exit animation" into sc-v2-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
2e314e8639
@@ -3390,6 +3390,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