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

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

Merge "audio service: fix BT SCO intent permission again" into jb-mr2-dev

parents af7c60be 6b5e22d5
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1533,7 +1533,9 @@ public class AudioService extends IAudioService.Stub implements OnFinished {
            // when entering RINGTONE, IN_CALL or IN_COMMUNICATION mode, clear all
            // SCO connections not started by the application changing the mode
            if (newModeOwnerPid != 0) {
                final long ident = Binder.clearCallingIdentity();
                disconnectBluetoothSco(newModeOwnerPid);
                Binder.restoreCallingIdentity(ident);
            }
        }