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

Commit 428a66b7 authored by Eric Laurent's avatar Eric Laurent Committed by Android Git Automerger
Browse files

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

* commit '5efd8942':
  audio service: fix BT SCO intent permission again
parents 93baebfb 5efd8942
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);
            }
        }