Merge "Merge "Ensure views are inflated before trying to animate." into rvc-dev am: 8f34c8698e am: 34ebb878c5" into rvc-d1-dev-plus-aosp am: 2739826592
Change-Id: I73b0f18e38c53ad727367f52e689e2a1a0f8c476
This commit is contained in:
@@ -219,6 +219,9 @@ public class NotificationPanelViewController extends OverlayViewController {
|
|||||||
|
|
||||||
mNavBarNotificationTouchListener =
|
mNavBarNotificationTouchListener =
|
||||||
(v, event) -> {
|
(v, event) -> {
|
||||||
|
if (!isInflated()) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
boolean consumed = navBarCloseNotificationGestureDetector.onTouchEvent(event);
|
boolean consumed = navBarCloseNotificationGestureDetector.onTouchEvent(event);
|
||||||
if (consumed) {
|
if (consumed) {
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user