diff options
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationStackScrollLayout.java | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationStackScrollLayout.java b/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationStackScrollLayout.java index 86003264811e..af155034c396 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationStackScrollLayout.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationStackScrollLayout.java @@ -707,6 +707,9 @@ public class NotificationStackScrollLayout extends ViewGroup implements ScrollAd      @VisibleForTesting      @ShadeViewRefactor(RefactorComponent.SHADE_VIEW)      public void updateFooter() { +        if (mFooterView == null) { +            return; +        }          boolean showDismissView = mClearAllEnabled && hasActiveClearableNotifications(ROWS_ALL);          boolean showFooterView = (showDismissView ||                  mEntryManager.getNotificationData().getActiveNotifications().size() != 0) |