Merge "Exclude user build devices for the test" into main am: 3f8cb43ff1
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/2871069 Change-Id: I3135511fc146f1751c5c693c71b5ef102dda164d Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -193,6 +193,11 @@ public class ChreDiscoveryProviderTest {
|
|||||||
@Test
|
@Test
|
||||||
@SdkSuppress(minSdkVersion = 32, codeName = "T")
|
@SdkSuppress(minSdkVersion = 32, codeName = "T")
|
||||||
public void testOnNearbyDeviceDiscoveredWithDataElements_TIME() {
|
public void testOnNearbyDeviceDiscoveredWithDataElements_TIME() {
|
||||||
|
// The feature only supports user-debug builds.
|
||||||
|
if (!Build.isDebuggable()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Disables the setting of test app support
|
// Disables the setting of test app support
|
||||||
boolean isSupportedTestApp = getDeviceConfigBoolean(
|
boolean isSupportedTestApp = getDeviceConfigBoolean(
|
||||||
NEARBY_SUPPORT_TEST_APP, false /* defaultValue */);
|
NEARBY_SUPPORT_TEST_APP, false /* defaultValue */);
|
||||||
|
|||||||
Reference in New Issue
Block a user