am dac3fd9d
: Merge "audio service: fix BT SCO intent permission again" into jb-mr2-dev
* commit 'dac3fd9d90daffb4f6b08c788184ff38523348ba': audio service: fix BT SCO intent permission again
This commit is contained in:
@ -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) {
|
||||
disconnectBluetoothSco(newModeOwnerPid);
|
||||
final long ident = Binder.clearCallingIdentity();
|
||||
disconnectBluetoothSco(newModeOwnerPid);
|
||||
Binder.restoreCallingIdentity(ident);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user