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

Commit 9bb9037f authored by Hui Yu's avatar Hui Yu Committed by Android (Google) Code Review
Browse files

Merge "Exempt Android Auto from background FGS restriction."

parents 3f9ddc30 b91ee9ca
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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) {