Loading android/app/src/com/android/bluetooth/hearingaid/HearingAidService.java +10 −2 Original line number Diff line number Diff line Loading @@ -748,7 +748,11 @@ public class HearingAidService extends ProfileService { if (DBG) { Log.d(TAG, " onAudioDevicesRemoved: device type: " + deviceInfo.getType()); } if (mAudioManager != null) { mAudioManager.unregisterAudioDeviceCallback(this); } else { Log.w(TAG, "onAudioDevicesRemoved: mAudioManager is null"); } } } } Loading @@ -764,7 +768,11 @@ public class HearingAidService extends ProfileService { if (DBG) { Log.d(TAG, " onAudioDevicesAdded: device type: " + deviceInfo.getType()); } if (mAudioManager != null) { mAudioManager.unregisterAudioDeviceCallback(this); } else { Log.w(TAG, "onAudioDevicesAdded: mAudioManager is null"); } } } } Loading Loading
android/app/src/com/android/bluetooth/hearingaid/HearingAidService.java +10 −2 Original line number Diff line number Diff line Loading @@ -748,7 +748,11 @@ public class HearingAidService extends ProfileService { if (DBG) { Log.d(TAG, " onAudioDevicesRemoved: device type: " + deviceInfo.getType()); } if (mAudioManager != null) { mAudioManager.unregisterAudioDeviceCallback(this); } else { Log.w(TAG, "onAudioDevicesRemoved: mAudioManager is null"); } } } } Loading @@ -764,7 +768,11 @@ public class HearingAidService extends ProfileService { if (DBG) { Log.d(TAG, " onAudioDevicesAdded: device type: " + deviceInfo.getType()); } if (mAudioManager != null) { mAudioManager.unregisterAudioDeviceCallback(this); } else { Log.w(TAG, "onAudioDevicesAdded: mAudioManager is null"); } } } } Loading