Loading src/com/android/settings/bluetooth/BluetoothSettings.java +10 −1 Original line number Diff line number Diff line Loading @@ -230,10 +230,19 @@ public final class BluetoothSettings extends DeviceListPreferenceFragment implem } private void startScanning() { if (isUiRestricted()) return; if (isUiRestricted()) { return; } if (!mAvailableDevicesCategoryIsPresent) { getPreferenceScreen().addPreference(mAvailableDevicesCategory); } if (mAvailableDevicesCategory != null) { setDeviceListGroup(mAvailableDevicesCategory); removeAllDevices(); } mLocalManager.getCachedDeviceManager().clearCachedDevices(); mAvailableDevicesCategory.removeAll(); mLocalAdapter.startScanning(true); Loading Loading
src/com/android/settings/bluetooth/BluetoothSettings.java +10 −1 Original line number Diff line number Diff line Loading @@ -230,10 +230,19 @@ public final class BluetoothSettings extends DeviceListPreferenceFragment implem } private void startScanning() { if (isUiRestricted()) return; if (isUiRestricted()) { return; } if (!mAvailableDevicesCategoryIsPresent) { getPreferenceScreen().addPreference(mAvailableDevicesCategory); } if (mAvailableDevicesCategory != null) { setDeviceListGroup(mAvailableDevicesCategory); removeAllDevices(); } mLocalManager.getCachedDeviceManager().clearCachedDevices(); mAvailableDevicesCategory.removeAll(); mLocalAdapter.startScanning(true); Loading