Merge "Exclude user build devices for the test" into main am: 3f8cb43ff1 am: 35a20256e3

Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/2871069

Change-Id: I653a27c8c481264f9eeee99d39561797610c17ed
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Xinyi Zhou
2023-12-13 21:15:26 +00:00
committed by Automerger Merge Worker

View File

@@ -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 */);