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