Loading flags/system_service.aconfig +0 −10 Original line number Diff line number Diff line Loading @@ -61,16 +61,6 @@ flag { bug: "341783936" } flag { name: "ble_scan_setting_does_not_disconnect_if_bt_on" namespace: "bluetooth" description: "Stop calling unregAllGattClient when toggling the ble scan setting and bluetooth is ON" metadata { purpose: PURPOSE_BUGFIX } bug: "379166793" } flag { name: "system_server_messenger" namespace: "bluetooth" Loading service/src/com/android/server/bluetooth/BluetoothManagerService.java +0 −7 Original line number Diff line number Diff line Loading @@ -684,13 +684,6 @@ class BluetoothManagerService { } 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
flags/system_service.aconfig +0 −10 Original line number Diff line number Diff line Loading @@ -61,16 +61,6 @@ flag { bug: "341783936" } flag { name: "ble_scan_setting_does_not_disconnect_if_bt_on" namespace: "bluetooth" description: "Stop calling unregAllGattClient when toggling the ble scan setting and bluetooth is ON" metadata { purpose: PURPOSE_BUGFIX } bug: "379166793" } flag { name: "system_server_messenger" namespace: "bluetooth" Loading
service/src/com/android/server/bluetooth/BluetoothManagerService.java +0 −7 Original line number Diff line number Diff line Loading @@ -684,13 +684,6 @@ class BluetoothManagerService { } 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