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

This commit is contained in:
Mady Mellor
2016-02-22 18:54:39 +00:00
committed by Android (Google) Code Review

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