Remove hidden Bluetooth dependencies
Bug: 217736913 Test: pre-submit Change-Id: Ib4e12e8e350ffa08b48f58e8256991d7ed4fa013
This commit is contained in:
@@ -193,7 +193,7 @@ public class AccessibilityHearingAidPreferenceControllerTest {
|
||||
private void setupBluetoothEnvironment() {
|
||||
ShadowBluetoothUtils.sLocalBluetoothManager = mLocalBluetoothManager;
|
||||
mLocalBluetoothManager = Utils.getLocalBtManager(mContext);
|
||||
mBluetoothManager = new BluetoothManager(mContext);
|
||||
mBluetoothManager = mContext.getSystemService(BluetoothManager.class);
|
||||
mBluetoothAdapter = mBluetoothManager.getAdapter();
|
||||
when(mLocalBluetoothManager.getCachedDeviceManager()).thenReturn(mCachedDeviceManager);
|
||||
when(mLocalBluetoothManager.getProfileManager()).thenReturn(mLocalBluetoothProfileManager);
|
||||
|
||||
Reference in New Issue
Block a user