summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Mady Mellor <madym@google.com> 2016-02-22 10:43:35 -0800
committer Mady Mellor <madym@google.com> 2016-02-22 10:43:35 -0800
commit3cb40246f1fc138e6a01a53f3500cf234516a58b (patch)
tree8a54b3a5668dff7fe330b67a230445117610be66
parent263e21f12cba4a2c5b4a6ac07fad55a4afc2ec45 (diff)
Fix crash when clearing all notifications
Bug: 27284789
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java2
1 files changed, 1 insertions, 1 deletions
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 f078b53a9e10..8f9a2243bad3 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 */);
}
}