diff options
author | Pavlin Radoslavov <pavlin@google.com> | 2018-02-06 16:14:00 -0800 |
---|---|---|
committer | Pavlin Radoslavov <pavlin@google.com> | 2018-02-23 13:56:00 -0800 |
commit | c285d559fa8f0d597e8d5f1c8176dbb187e2d6ac (patch) | |
tree | 8bd3f4a364338082558ec33cdbfc9411864810bf /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | add2d38cfc243f0faecb6a6d73addd22eeffab17 (diff) |
Update the Bluetooth Active Device state in the Device Manager
The Bluetooth Active Device state should be updated for all
CachedBluetoothDevice entries.
This should be done inside CachedBluetoothDeviceManager in SettingsLib
instead of BluetoothDeviceUpdater in the Settings app.
Also:
* Added a new CachedBluetoothDeviceManagerTest.java unit test
* Added a new method CachedBluetoothDevice.isActiveDevice()
for testing.
Bug: 72316092
Test: Manual - two headsets and switching the active device
Unit tests - "make RunSettingsLibRoboTests -j 40"
Change-Id: Ic3fbf667c66ed2de8e5c3352bc1ffd829a9052cf
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions