From 791e8b8dfb68a15813e7ee2c0386f1b0ceb167bf Mon Sep 17 00:00:00 2001 From: Yiyi Shen Date: Fri, 22 Sep 2023 13:53:34 +0800 Subject: [PATCH] Move ShadowBluetoothUtils.java to tests/robotests/testutils. This is to solve presubmit issue of ag/24820489 Bug: 296507968 Test: build Change-Id: I44df560f30245ab4d98a3bedf40d9e5707e82189 --- .../android/settings/testutils/shadow/ShadowBluetoothUtils.java | 2 ++ 1 file changed, 2 insertions(+) rename tests/robotests/{src => testutils}/com/android/settings/testutils/shadow/ShadowBluetoothUtils.java (92%) diff --git a/tests/robotests/src/com/android/settings/testutils/shadow/ShadowBluetoothUtils.java b/tests/robotests/testutils/com/android/settings/testutils/shadow/ShadowBluetoothUtils.java similarity index 92% rename from tests/robotests/src/com/android/settings/testutils/shadow/ShadowBluetoothUtils.java rename to tests/robotests/testutils/com/android/settings/testutils/shadow/ShadowBluetoothUtils.java index c0094428026..4dca7490e1a 100644 --- a/tests/robotests/src/com/android/settings/testutils/shadow/ShadowBluetoothUtils.java +++ b/tests/robotests/testutils/com/android/settings/testutils/shadow/ShadowBluetoothUtils.java @@ -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;