Merge "Ensure views are inflated before trying to animate." into rvc-dev

This commit is contained in:
Heemin Seog
2020-04-03 17:13:40 +00:00
committed by Android (Google) Code Review

View File

@@ -219,6 +219,9 @@ public class NotificationPanelViewController extends OverlayViewController {
mNavBarNotificationTouchListener =
(v, event) -> {
if (!isInflated()) {
return true;
}
boolean consumed = navBarCloseNotificationGestureDetector.onTouchEvent(event);
if (consumed) {
return true;