Close on shutdown, for consistency
This commit is contained in:
parent
1faa0d69ec
commit
d6cb11d8cc
1 changed files with 2 additions and 0 deletions
|
@ -624,6 +624,8 @@ class HIDDeviceBLESteamController extends BluetoothGattCallback implements HIDDe
|
|||
|
||||
@Override
|
||||
public void shutdown() {
|
||||
close();
|
||||
|
||||
BluetoothGatt g = mGatt;
|
||||
if (g != null) {
|
||||
g.disconnect();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue