Loading src/com/android/server/telecom/CallAudioRouteController.java +2 −2 Original line number Diff line number Diff line Loading @@ -759,7 +759,7 @@ public class CallAudioRouteController implements CallAudioRouteAdapter { * Message being handled: BT_AUDIO_CONNECTED */ private void handleBtAudioActive(BluetoothDevice bluetoothDevice) { if (mIsPending) { if (mIsPending && bluetoothDevice != null) { Log.i(this, "handleBtAudioActive: is pending path"); if (Objects.equals(mPendingAudioRoute.getDestRoute().getBluetoothAddress(), bluetoothDevice.getAddress())) { Loading @@ -778,7 +778,7 @@ public class CallAudioRouteController implements CallAudioRouteAdapter { * Message being handled: BT_AUDIO_DISCONNECTED */ private void handleBtAudioInactive(BluetoothDevice bluetoothDevice) { if (mIsPending) { if (mIsPending && bluetoothDevice != null) { Log.i(this, "handleBtAudioInactive: is pending path"); if (Objects.equals(mPendingAudioRoute.getOrigRoute().getBluetoothAddress(), bluetoothDevice.getAddress())) { Loading Loading
src/com/android/server/telecom/CallAudioRouteController.java +2 −2 Original line number Diff line number Diff line Loading @@ -759,7 +759,7 @@ public class CallAudioRouteController implements CallAudioRouteAdapter { * Message being handled: BT_AUDIO_CONNECTED */ private void handleBtAudioActive(BluetoothDevice bluetoothDevice) { if (mIsPending) { if (mIsPending && bluetoothDevice != null) { Log.i(this, "handleBtAudioActive: is pending path"); if (Objects.equals(mPendingAudioRoute.getDestRoute().getBluetoothAddress(), bluetoothDevice.getAddress())) { Loading @@ -778,7 +778,7 @@ public class CallAudioRouteController implements CallAudioRouteAdapter { * Message being handled: BT_AUDIO_DISCONNECTED */ private void handleBtAudioInactive(BluetoothDevice bluetoothDevice) { if (mIsPending) { if (mIsPending && bluetoothDevice != null) { Log.i(this, "handleBtAudioInactive: is pending path"); if (Objects.equals(mPendingAudioRoute.getOrigRoute().getBluetoothAddress(), bluetoothDevice.getAddress())) { Loading