summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2013-07-12 11:33:23 +0200
committerDanny Baumann <dannybaumann@web.de>2013-07-12 11:40:31 +0200
commit605a6beb9a6d76bef1acfcea20b41a4aee4cc0a6 (patch)
tree3a95bc120c26def30e1a2a6a38b4a05a282baddd /packages
parente5fd7135ae982590da670edefe691569684af82c (diff)
downloadframeworks_base-605a6beb9a6d76bef1acfcea20b41a4aee4cc0a6.zip
frameworks_base-605a6beb9a6d76bef1acfcea20b41a4aee4cc0a6.tar.gz
frameworks_base-605a6beb9a6d76bef1acfcea20b41a4aee4cc0a6.tar.bz2
Revert "Auto-close if you swipe away the last notification."
This reverts commit 8cc36e572876f3bb9197f0109db3042466e5f917. It didn't work as advertised anyway: It only worked if there are no persistent notifications, and it also closes the notification area if the notification is closed by the app itself. Change-Id: I16f0fb6cf41d20c3a3bd4278446edab780c1fc77
Diffstat (limited to 'packages')
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java7
1 files changed, 0 insertions, 7 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
index 86cbd8c..82b6538 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
@@ -140,8 +140,6 @@ public class PhoneStatusBar extends BaseStatusBar {
// will likely move to a resource or other tunable param at some point
private static final int INTRUDER_ALERT_DECAY_MS = 0; // disabled, was 10000;
- private static final boolean CLOSE_PANEL_WHEN_EMPTIED = true;
-
private static final int NOTIFICATION_PRIORITY_MULTIPLIER = 10; // see NotificationManagerService
private static final int HIDE_ICONS_BELOW_SCORE = Notification.PRIORITY_LOW * NOTIFICATION_PRIORITY_MULTIPLIER;
@@ -1116,11 +1114,6 @@ public class PhoneStatusBar extends BaseStatusBar {
if (ENABLE_INTRUDERS && old == mCurrentlyIntrudingNotification) {
mHandler.sendEmptyMessage(MSG_HIDE_INTRUDER);
}
-
- if (CLOSE_PANEL_WHEN_EMPTIED && mNotificationData.size() == 0 && !mAnimating
- && !isShowingSettings()) {
- animateCollapsePanels();
- }
}
setAreThereNotifications();