summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI
diff options
context:
space:
mode:
authorAmith Yamasani <yamasani@google.com>2015-04-28 18:39:32 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-04-28 18:39:32 +0000
commitfc96fe6c737529ba40ccd0c45292750518fe2b36 (patch)
treec6d23590b3a1d749cb51fa3f47fdffc8f273fdd1 /packages/SystemUI
parent69bf60f72a3598279f29d8fbd0ed3eec690c47dd (diff)
parent3346930f07516a0cbc2f877d6fbe80cce3f1f227 (diff)
downloadframeworks_base-fc96fe6c737529ba40ccd0c45292750518fe2b36.zip
frameworks_base-fc96fe6c737529ba40ccd0c45292750518fe2b36.tar.gz
frameworks_base-fc96fe6c737529ba40ccd0c45292750518fe2b36.tar.bz2
am 3346930f: am 1a7a7383: am c1ce0bbd: Merge "Mark actually seen notifications as seen" into mnc-dev
* commit '3346930f07516a0cbc2f877d6fbe80cce3f1f227': Mark actually seen notifications as seen
Diffstat (limited to 'packages/SystemUI')
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java13
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java1
2 files changed, 1 insertions, 13 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java b/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
index 7271469..92bd0df 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
@@ -708,18 +708,6 @@ public abstract class BaseStatusBar extends SystemUI implements
mNotificationListener.setNotificationsShown(keys);
}
- protected void setNotificationsShownAll() {
- ArrayList<Entry> activeNotifications = mNotificationData.getActiveNotifications();
- final int N = activeNotifications.size();
-
- String[] keys = new String[N];
- for (int i = 0; i < N; i++) {
- NotificationData.Entry entry = activeNotifications.get(i);
- keys[i] = entry.key;
- }
- setNotificationsShown(keys);
- }
-
protected boolean isCurrentProfile(int userId) {
synchronized (mCurrentProfiles) {
return userId == UserHandle.USER_ALL || mCurrentProfiles.get(userId) != null;
@@ -1701,7 +1689,6 @@ public abstract class BaseStatusBar extends SystemUI implements
boolean clearNotificationEffects =
(mState == StatusBarState.SHADE || mState == StatusBarState.SHADE_LOCKED);
mBarService.onPanelRevealed(clearNotificationEffects);
- setNotificationsShownAll();
} else {
mBarService.onPanelHidden();
}
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 6b17589..bf85ed5 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
@@ -2852,6 +2852,7 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode,
} catch (RemoteException e) {
// Ignore.
}
+ setNotificationsShown(newlyVisibleAr);
}
// State logging