Files
packages_apps_Settings/tests/robotests/src/com/android/settings
hughchen 1b3f570a67 Fix bluetooth settings force close
This CL include following change:

- Add null check of cacedBluetoothDevice, cachedBluetooth could be null
  if the input BluetoothDevice can't found in
  CachedBluetoothDeviceManager.
- Move addPreference() and removePreference() to update() method,
  because update() will be called to update UI when recevice Bluetooth
  device change event.
- Add test case to test CachedBluetoothDevice null check.

Bug: 149068434
Test: make -j42 RunSettingsRoboTests
Change-Id: I90016bf1175925821b0d9b634c62cf796289a734
2020-02-10 10:45:51 +08:00
..
2019-12-19 10:55:42 +08:00
2019-12-20 12:18:27 +08:00
2020-02-03 14:17:05 +08:00
2019-10-24 10:42:42 +08:00
2019-09-25 18:24:56 +08:00
2020-01-17 19:31:12 +08:00
2019-10-03 15:04:36 +08:00