Loading services/core/java/com/android/server/am/ActiveServices.java +3 −0 Original line number Diff line number Diff line Loading @@ -408,6 +408,9 @@ public final class ActiveServices { if (!TextUtils.isEmpty(systemCaptionsServicePackageName)) { mWhiteListAllowWhileInUsePermissionInFgs.add(systemCaptionsServicePackageName); } // TODO change this to configurable in config.xml. final String projectionPackage = "com.google.android.projection.gearhead"; mWhiteListAllowWhileInUsePermissionInFgs.add(projectionPackage); } ServiceRecord getServiceByNameLocked(ComponentName name, int callingUser) { Loading Loading
services/core/java/com/android/server/am/ActiveServices.java +3 −0 Original line number Diff line number Diff line Loading @@ -408,6 +408,9 @@ public final class ActiveServices { if (!TextUtils.isEmpty(systemCaptionsServicePackageName)) { mWhiteListAllowWhileInUsePermissionInFgs.add(systemCaptionsServicePackageName); } // TODO change this to configurable in config.xml. final String projectionPackage = "com.google.android.projection.gearhead"; mWhiteListAllowWhileInUsePermissionInFgs.add(projectionPackage); } ServiceRecord getServiceByNameLocked(ComponentName name, int callingUser) { Loading