Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 106c16fb authored by Justin Koh's avatar Justin Koh Committed by Android (Google) Code Review
Browse files

Merge "Allow listeners to see children" into lmp-dev

parents fe3e10de 8d11a5aa
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -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;
    }