Use androidx FlakyTest annotation for device tests.
Platform_testing large test annotation is for
host side tests and restricted, device tests should use
androidx annotation.
Bug: 293837621
Test: presubmit
Change-Id: Ia5faeed2d4cec8c135ea37d5b0d45a338830fec0
diff --git a/services/devicepolicy/TEST_MAPPING b/services/devicepolicy/TEST_MAPPING
index fccd1ec..0d5534b 100644
--- a/services/devicepolicy/TEST_MAPPING
+++ b/services/devicepolicy/TEST_MAPPING
@@ -4,7 +4,7 @@
"name": "CtsDevicePolicyManagerTestCases",
"options": [
{
- "exclude-annotation": "android.platform.test.annotations.FlakyTest"
+ "exclude-annotation": "androidx.test.filters.FlakyTest"
},
{
"exclude-annotation": "androidx.test.filters.LargeTest"