Merge "fix filter for listeners that are not the rocket" into nyc-dev am: 2e35847a8f

am: 3f62cb6318

* commit '3f62cb63186548f5496cdde68e40fe3943190e2f':
  fix filter for listeners that are not the rocket

Change-Id: I1c3f1d88b928940e3bdbd07d8f9ab3705b1cc67c
This commit is contained in:
Chris Wren
2016-05-12 21:11:30 +00:00
committed by android-build-merger

View File

@@ -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);
}