Revert "Exempt Android Auto from background FGS restriction."
This reverts commit b91ee9ca7b.
Reason for revert: Do not hard code packageName in AOSP code, there is better implementation.
Change-Id: Ibc6965caf8aed2c83f27d622f401aff0042c59e9
This commit is contained in:
@@ -408,9 +408,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) {
|
||||
|
||||
Reference in New Issue
Block a user