From 0c4eeb498571708b2cca261b8f8519efae5a49c6 Mon Sep 17 00:00:00 2001 From: Chris Wren Date: Thu, 12 May 2016 13:21:08 -0400 Subject: [PATCH] fix filter for listeners that are not the rocket Bug: 28664037 Change-Id: Id1e4b243ed7423dbd2d4a8ead829cba9b20f30cd --- .../java/com/android/server/notification/ManagedServices.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/core/java/com/android/server/notification/ManagedServices.java b/services/core/java/com/android/server/notification/ManagedServices.java index 29e2e441dcffa..53c5a6dc65e25 100644 --- a/services/core/java/com/android/server/notification/ManagedServices.java +++ b/services/core/java/com/android/server/notification/ManagedServices.java @@ -868,7 +868,7 @@ abstract public class ManagedServices { return false; } if (this.userid == UserHandle.USER_ALL) return true; - if (this.userid == UserHandle.USER_SYSTEM) return true; + if (this.isSystem) return true; if (nid == UserHandle.USER_ALL || nid == this.userid) return true; return supportsProfiles() && mUserProfiles.isCurrentProfile(nid); }