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

Commit 568019a9 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "[audio] Don't filter package intents by extras" into main

parents 221ba8b3 eb700490
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -13225,8 +13225,10 @@ public class AudioService extends IAudioService.Stub
                String action = intent.getAction();
                String pkgName = intent.getData().getEncodedSchemeSpecificPart();
                int uid = intent.getIntExtra(Intent.EXTRA_UID, Process.INVALID_UID);
                if (intent.getBooleanExtra(EXTRA_REPLACING, false) ||
                        intent.getBooleanExtra(EXTRA_ARCHIVAL, false)) return;
                Slog.d(TAG, "received " + action + " replacing: " +
                    intent.getBooleanExtra(EXTRA_REPLACING, false) + " archival: " +
                    intent.getBooleanExtra(EXTRA_ARCHIVAL, false) + " for package " +
                    pkgName + " with uid " + uid);
                if (ACTION_PACKAGE_ADDED.equals(action)) {
                    audioserverExecutor.execute(() ->
                            provider.onModifyPackageState(uid, pkgName, false /* isRemoved */));