Merge "Exclude user build devices for the test" into main

This commit is contained in:
Xinyi Zhou
2023-12-13 20:23:12 +00:00
committed by Gerrit Code Review

View File

@@ -193,6 +193,11 @@ public class ChreDiscoveryProviderTest {
@Test
@SdkSuppress(minSdkVersion = 32, codeName = "T")
public void testOnNearbyDeviceDiscoveredWithDataElements_TIME() {
// The feature only supports user-debug builds.
if (!Build.isDebuggable()) {
return;
}
// Disables the setting of test app support
boolean isSupportedTestApp = getDeviceConfigBoolean(
NEARBY_SUPPORT_TEST_APP, false /* defaultValue */);