Merge "Fix crash when clearing all notifications" into nyc-dev

am: e03688068f

* commit 'e03688068f320d0401ba2dc5e10c85fc6d2affaa':
  Fix crash when clearing all notifications
This commit is contained in:
Mady Mellor
2016-02-22 19:36:40 +00:00
committed by android-build-merger

View File

@@ -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 */);
}
}