Check device type in java code instead of ADP profile because ADP only apply on launched device, it will make our testing failed on not launched Pixel, see b/238835231#comment26

PiperOrigin-RevId: 463766386
This commit is contained in:
hai007
2022-07-28 00:00:27 -07:00
committed by Copybara-Service
parent d5f86a04d6
commit 974ff693b1
+2
View File
@@ -501,4 +501,6 @@ enum Description {
UNSUPPORTED_DEVICE_TYPE_WEAR = 170;
NULL_MESSAGE = 171;
USER_RESTRICTION_DISALLOWED = 172;
UNSUPPORTED_DEVICE_TYPE_PHONE = 173;
UNSUPPORTED_DEVICE_TYPE_TABLET = 174;
}