Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4e07468f authored by Pavlin Radoslavov's avatar Pavlin Radoslavov Committed by Android Git Automerger
Browse files

am 29b8c4ab: Reset the pointer to the Bluetooth GATT service

* commit '29b8c4ab':
  Reset the pointer to the Bluetooth GATT service
parents 7608f541 29b8c4ab
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1506,6 +1506,7 @@ class BluetoothManagerService extends IBluetoothManager.Stub {
                                //Unbind
                                mContext.unbindService(mConnection);
                            }
                            mBluetoothGatt = null;
                        }
                        SystemClock.sleep(100);

@@ -1811,6 +1812,7 @@ class BluetoothManagerService extends IBluetoothManager.Stub {
                //Unbind
                mContext.unbindService(mConnection);
            }
            mBluetoothGatt = null;
        }

        mHandler.removeMessages(MESSAGE_BLUETOOTH_STATE_CHANGE);