Loading android/app/src/com/android/bluetooth/hid/HidDeviceService.java +5 −0 Original line number Diff line number Diff line Loading @@ -657,6 +657,11 @@ public class HidDeviceService extends ProfileService { Log.d(TAG, "stop()"); } if (sHidDeviceService == null) { Log.w(TAG, "stop() called before start()"); return true; } setHidDeviceService(null); if (mNativeAvailable) { mHidDeviceNativeInterface.cleanup(); Loading android/app/src/com/android/bluetooth/newavrcp/AvrcpTargetService.java +5 −0 Original line number Diff line number Diff line Loading @@ -169,6 +169,11 @@ public class AvrcpTargetService extends ProfileService { protected boolean stop() { Log.i(TAG, "Stopping the AVRCP Target Service"); if (sInstance == null) { Log.w(TAG, "stop() called before start()"); return true; } sInstance = null; unregisterReceiver(mReceiver); Loading Loading
android/app/src/com/android/bluetooth/hid/HidDeviceService.java +5 −0 Original line number Diff line number Diff line Loading @@ -657,6 +657,11 @@ public class HidDeviceService extends ProfileService { Log.d(TAG, "stop()"); } if (sHidDeviceService == null) { Log.w(TAG, "stop() called before start()"); return true; } setHidDeviceService(null); if (mNativeAvailable) { mHidDeviceNativeInterface.cleanup(); Loading
android/app/src/com/android/bluetooth/newavrcp/AvrcpTargetService.java +5 −0 Original line number Diff line number Diff line Loading @@ -169,6 +169,11 @@ public class AvrcpTargetService extends ProfileService { protected boolean stop() { Log.i(TAG, "Stopping the AVRCP Target Service"); if (sInstance == null) { Log.w(TAG, "stop() called before start()"); return true; } sInstance = null; unregisterReceiver(mReceiver); Loading