Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5ccade2b authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

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

parents f66d4cd0 1d057e48
Loading
Loading
Loading
Loading
+0 −3
Original line number Original line Diff line number Diff line
@@ -415,9 +415,6 @@ public final class ActiveServices {
        if (!TextUtils.isEmpty(systemCaptionsServicePackageName)) {
        if (!TextUtils.isEmpty(systemCaptionsServicePackageName)) {
            mWhiteListAllowWhileInUsePermissionInFgs.add(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) {
    ServiceRecord getServiceByNameLocked(ComponentName name, int callingUser) {