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

Commit 087c39c3 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Ignore null action in AudioService." into main am: 1836e66f

parents cf180212 1836e66f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -12506,10 +12506,10 @@ public class AudioService extends IAudioService.Stub
                int uid = intent.getIntExtra(Intent.EXTRA_UID, Process.INVALID_UID);
                if (intent.getBooleanExtra(EXTRA_REPLACING, false) ||
                        intent.getBooleanExtra(EXTRA_ARCHIVAL, false)) return;
                if (action.equals(ACTION_PACKAGE_ADDED)) {
                if (ACTION_PACKAGE_ADDED.equals(action)) {
                    audioserverExecutor.execute(() ->
                            provider.onModifyPackageState(uid, pkgName, false /* isRemoved */));
                } else if (action.equals(ACTION_PACKAGE_REMOVED)) {
                } else if (ACTION_PACKAGE_REMOVED.equals(action)) {
                    audioserverExecutor.execute(() ->
                            provider.onModifyPackageState(uid, pkgName, true /* isRemoved */));
                }