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

Commit d489ac79 authored by Eric Laurent's avatar Eric Laurent Committed by Android (Google) Code Review
Browse files

Merge "AudioService: fix BT SCO audio starting from system server" into main

parents 05df5cf7 941ab298
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -389,7 +389,8 @@ public class AudioDeviceBroker {
     */
    private boolean shouldStartScoForUid(int uid) {
        return !(UserHandle.isSameApp(uid, Process.BLUETOOTH_UID)
                || UserHandle.isSameApp(uid, Process.PHONE_UID));
                || UserHandle.isSameApp(uid, Process.PHONE_UID)
                || UserHandle.isSameApp(uid, Process.SYSTEM_UID));
    }

    @GuardedBy("mDeviceStateLock")