Merge "Revert "Exempt Android Auto from background FGS restriction.""

This commit is contained in:
TreeHugger Robot
2020-02-22 22:24:28 +00:00
committed by Android (Google) Code Review

View File

@@ -415,9 +415,6 @@ 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) {