Exclude user build devices for the test
Fix: 313884732 Ignore-AOSP-First: nearby_not_in_aosp_yet Test: -m Change-Id: Iaaca422cb105c00ded1d84b40afd745abcd651b7
This commit is contained in:
@@ -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 */);
|
||||
|
||||
Reference in New Issue
Block a user