am f226c16c: Merge "Allow listeners to see children" into lmp-dev
* commit 'f226c16c53350942c75a1191d5d7a4c30a223aac': Allow listeners to see children
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user