summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Koh <justinkoh@google.com>2014-08-05 16:56:02 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-08-05 00:34:22 +0000
commit106c16fbd9601ba23eea9b0f13c8f00933f67ee6 (patch)
treef3473eee66126416eeb67d1d71487480b831f9b0
parentfe3e10deaf30f2b54671e2efc7192cece056c35d (diff)
parent8d11a5aa2d42416d580dcf7318200be8b8681dec (diff)
downloadframeworks_base-106c16fbd9601ba23eea9b0f13c8f00933f67ee6.zip
frameworks_base-106c16fbd9601ba23eea9b0f13c8f00933f67ee6.tar.gz
frameworks_base-106c16fbd9601ba23eea9b0f13c8f00933f67ee6.tar.bz2
Merge "Allow listeners to see children" into lmp-dev
-rw-r--r--services/core/java/com/android/server/notification/NotificationManagerService.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/services/core/java/com/android/server/notification/NotificationManagerService.java b/services/core/java/com/android/server/notification/NotificationManagerService.java
index 822bd5a..f575b9a 100644
--- a/services/core/java/com/android/server/notification/NotificationManagerService.java
+++ b/services/core/java/com/android/server/notification/NotificationManagerService.java
@@ -2511,10 +2511,7 @@ public class NotificationManagerService extends SystemService {
if (!listener.enabledAndUserMatches(sbn.getUserId())) {
return false;
}
- Notification n = sbn.getNotification();
- if (listener.targetSdkVersion < Build.VERSION_CODES.L && n.isGroupChild()) {
- return false;
- }
+ // TODO: remove this for older listeners.
return true;
}