OSDN Git Service

Remove test-purpose constructor from AvailableMediaBluetoothDeviceUpdater
authortimhypeng <timhypeng@google.com>
Tue, 14 Aug 2018 02:30:50 +0000 (10:30 +0800)
committertim peng <timhypeng@google.com>
Thu, 16 Aug 2018 01:24:52 +0000 (01:24 +0000)
commit47a6dbcd9403be105d00ba17b37a1fe9a1a48438
treeb318ba26279724a2aed9adb070f8c9f551a67a42
parent273c6d391883ba87daf79dae56cacf1ab05fbe40
Remove test-purpose constructor from AvailableMediaBluetoothDeviceUpdater

- replace mock object with ShadowCachedBluetoothDeviceManager to test CachedBluetoothDevice
- rename cachedDevices to mCachedDevices

Bug: 111848213
Test: make -j50 RunSettingsRoboTests
Change-Id: I3028a6fe06c39c48e7cee33976bdfcab2c8b73c8
src/com/android/settings/bluetooth/AvailableMediaBluetoothDeviceUpdater.java
tests/robotests/src/com/android/settings/bluetooth/AvailableMediaBluetoothDeviceUpdaterTest.java