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.Resetter;
|
||||
|
||||
/** Robolectric shadow for the bluetooth utils. */
|
||||
@Implements(Utils.class)
|
||||
public class ShadowBluetoothUtils {
|
||||
|
||||
@@ -35,6 +36,7 @@ public class ShadowBluetoothUtils {
|
||||
return sLocalBluetoothManager;
|
||||
}
|
||||
|
||||
/** Resets the local bluetooth manager to null. */
|
||||
@Resetter
|
||||
public static void reset() {
|
||||
sLocalBluetoothManager = null;
|
Reference in New Issue
Block a user