Move ShadowBluetoothUtils.java to tests/robotests/testutils.
This is to solve presubmit issue of ag/24820489 Bug: 296507968 Test: build Change-Id: I44df560f30245ab4d98a3bedf40d9e5707e82189
This commit is contained in:
@@ -25,6 +25,7 @@ import org.robolectric.annotation.Implementation;
|
|||||||
import org.robolectric.annotation.Implements;
|
import org.robolectric.annotation.Implements;
|
||||||
import org.robolectric.annotation.Resetter;
|
import org.robolectric.annotation.Resetter;
|
||||||
|
|
||||||
|
/** Robolectric shadow for the bluetooth utils. */
|
||||||
@Implements(Utils.class)
|
@Implements(Utils.class)
|
||||||
public class ShadowBluetoothUtils {
|
public class ShadowBluetoothUtils {
|
||||||
|
|
||||||
@@ -35,6 +36,7 @@ public class ShadowBluetoothUtils {
|
|||||||
return sLocalBluetoothManager;
|
return sLocalBluetoothManager;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Resets the local bluetooth manager to null. */
|
||||||
@Resetter
|
@Resetter
|
||||||
public static void reset() {
|
public static void reset() {
|
||||||
sLocalBluetoothManager = null;
|
sLocalBluetoothManager = null;
|
Reference in New Issue
Block a user