Remove hidden Bluetooth dependencies
Bug: 217736913 Test: pre-submit Change-Id: Ib4e12e8e350ffa08b48f58e8256991d7ed4fa013
This commit is contained in:
@@ -76,7 +76,7 @@ public abstract class BluetoothDetailsControllerTestBase {
|
||||
when(mFragment.getPreferenceScreen()).thenReturn(mScreen);
|
||||
mLifecycleOwner = () -> mLifecycle;
|
||||
mLifecycle = spy(new Lifecycle(mLifecycleOwner));
|
||||
mBluetoothManager = new BluetoothManager(mContext);
|
||||
mBluetoothManager = mContext.getSystemService(BluetoothManager.class);
|
||||
mBluetoothAdapter = mBluetoothManager.getAdapter();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user