Loading android/app/src/com/android/bluetooth/hfp/HeadsetService.java +11 −0 Original line number Diff line number Diff line Loading @@ -1395,6 +1395,17 @@ public class HeadsetService extends ProfileService { + disconnectStatus); } } // Make sure the Audio Manager knows the previous active device is no longer active. if (Utils.isScoManagedByAudioEnabled()) { mSystemInterface .getAudioManager() .handleBluetoothActiveDeviceChanged( null, mActiveDevice, BluetoothProfileConnectionInfo.createHfpInfo()); } mActiveDevice = null; mNativeInterface.setActiveDevice(null); broadcastActiveDevice(null); Loading Loading
android/app/src/com/android/bluetooth/hfp/HeadsetService.java +11 −0 Original line number Diff line number Diff line Loading @@ -1395,6 +1395,17 @@ public class HeadsetService extends ProfileService { + disconnectStatus); } } // Make sure the Audio Manager knows the previous active device is no longer active. if (Utils.isScoManagedByAudioEnabled()) { mSystemInterface .getAudioManager() .handleBluetoothActiveDeviceChanged( null, mActiveDevice, BluetoothProfileConnectionInfo.createHfpInfo()); } mActiveDevice = null; mNativeInterface.setActiveDevice(null); broadcastActiveDevice(null); Loading