Close on shutdown, for consistency
This commit is contained in:
1 parent
e4c9806f4f
commit
1e728f5075
1 file changed
+2
@@ -624,6 +624,8 @@ class HIDDeviceBLESteamController extends BluetoothGattCallback implements HIDDe
|
||||
|
||||
@Override
|
||||
public void shutdown() {
|
||||
close();
|
||||
|
||||
BluetoothGatt g = mGatt;
|
||||
if (g != null) {
|
||||
g.disconnect();
|
||||
|
||||
Reference in new issue
Block a user