Exempt Android Auto from background FGS restriction.
From the background FGS while-in-use permission restriction. Bug: 149835015, 136219221 Test: adb shell dumpsys activity -a. Change-Id: I08c9e5fd2e2c304afe02430c6c7e7db0eb3c383d
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user