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

Commit c6aff30a authored by android-build-prod (mdb)'s avatar android-build-prod (mdb) Committed by android-build-merger
Browse files

Merge "AudioService: fix uid check in setBluetoothScoOn" am: b0ae3e5b

am: d9091b96

Change-Id: If5c6dc5a342ccc440d4be15dca91045ebae26126
parents 77a90e4e d9091b96
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3183,7 +3183,7 @@ public class AudioService extends IAudioService.Stub
        }

        // Only enable calls from system components
        if (Binder.getCallingUid() >= FIRST_APPLICATION_UID) {
        if (UserHandle.getCallingAppId() >= FIRST_APPLICATION_UID) {
            mForcedUseForCommExt = on ? AudioSystem.FORCE_BT_SCO : AudioSystem.FORCE_NONE;
            return;
        }