From 3cb40246f1fc138e6a01a53f3500cf234516a58b Mon Sep 17 00:00:00 2001 From: Mady Mellor Date: Mon, 22 Feb 2016 10:43:35 -0800 Subject: [PATCH] Fix crash when clearing all notifications Bug: 27284789 --- .../systemui/statusbar/stack/NotificationStackScrollLayout.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java b/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java index f078b53a9e10f..8f9a2243bad3b 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java @@ -3045,7 +3045,7 @@ public class NotificationStackScrollLayout extends ViewGroup disableClipOptimization(); } handleDismissAllClipping(); - if (mCurrIconRow != null & mCurrIconRow.isVisible()) { + if (mCurrIconRow != null && mCurrIconRow.isVisible()) { mCurrIconRow.getNotificationParent().animateTranslateNotification(0 /* left target */); } }