Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 50647bf2 authored by Heemin Seog's avatar Heemin Seog
Browse files

Ensure views are inflated before trying to animate.

Bug: 153000670
Test: manual (flash, spam touches to the nav bar - before opening
notification shade)

Change-Id: Iaa4f1515a238fbd6978d263dd22ea4d9438170a6
parent 50e02440
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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;