Loading service/src/com/android/server/bluetooth/BluetoothManagerService.java +7 −4 Original line number Diff line number Diff line Loading @@ -684,11 +684,14 @@ class BluetoothManagerService { return Unit.INSTANCE; } clearBleApps(); if (!Flags.bleScanSettingDoesNotDisconnectIfBtOn()) { try { mAdapter.unregAllGattClient(mContext.getAttributionSource()); } catch (RemoteException e) { Log.e(TAG, "onBleScanDisabled: unregAllGattClient failed", e); } } if (mState.oneOf(STATE_BLE_ON)) { Log.i(TAG, "onBleScanDisabled: Shutting down BLE_ON mode"); bleOnToOff(); Loading Loading
service/src/com/android/server/bluetooth/BluetoothManagerService.java +7 −4 Original line number Diff line number Diff line Loading @@ -684,11 +684,14 @@ class BluetoothManagerService { return Unit.INSTANCE; } clearBleApps(); if (!Flags.bleScanSettingDoesNotDisconnectIfBtOn()) { try { mAdapter.unregAllGattClient(mContext.getAttributionSource()); } catch (RemoteException e) { Log.e(TAG, "onBleScanDisabled: unregAllGattClient failed", e); } } if (mState.oneOf(STATE_BLE_ON)) { Log.i(TAG, "onBleScanDisabled: Shutting down BLE_ON mode"); bleOnToOff(); Loading