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

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

am ce3ef9c8: am 4e07468f: am 29b8c4ab: Reset the pointer to the Bluetooth GATT service

* commit 'ce3ef9c8':
  Reset the pointer to the Bluetooth GATT service
parents 347c8850 ce3ef9c8
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);