summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorDaniel Sandler <dsandler@google.com>2011-08-03 14:05:07 -0400
committerDaniel Sandler <dsandler@google.com>2011-08-03 14:08:12 -0400
commit8e41f3158d3aeabd98fcaa7a846874129a9f39f6 (patch)
tree7c3c5e125ab226d8546b26d9cfe51c410a60b731 /packages
parentc66009169622ecdb65d887987feaf91fff091af8 (diff)
downloadframeworks_base-8e41f3158d3aeabd98fcaa7a846874129a9f39f6.zip
frameworks_base-8e41f3158d3aeabd98fcaa7a846874129a9f39f6.tar.gz
frameworks_base-8e41f3158d3aeabd98fcaa7a846874129a9f39f6.tar.bz2
Restore DISABLE_NOTIFICATION_ICONS.
Bug: 5054828 Change-Id: I621f5ef9281eb9593525faf7dd7be42def653970
Diffstat (limited to 'packages')
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java b/packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java
index dc7e313..c7b6f20 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java
@@ -1606,6 +1606,10 @@ public class TabletStatusBar extends StatusBar implements
}
return;
+ } else if (0 != (mDisabled & StatusBarManager.DISABLE_NOTIFICATION_ICONS)) {
+ // if icons are disabled but we're not in DND mode, this is probably Setup and we should
+ // just leave the area totally empty
+ return;
}
int N = mNotificationData.size();