am 678f7edd: Merge "Avoid SystemUI crash due to NPE"

* commit '678f7edd140f3914655bc600d207d3dcb986f881':
  Avoid SystemUI crash due to NPE
This commit is contained in:
Chris Wren
2014-05-08 21:03:04 +00:00
committed by Android Git Automerger

View File

@@ -841,6 +841,9 @@ public abstract class BaseStatusBar extends SystemUI implements
}
protected void addNotificationViews(NotificationData.Entry entry) {
if (entry == null) {
return;
}
// Add the expanded view and icon.
int pos = mNotificationData.add(entry);
if (DEBUG) {