From 974ff693b13c88f6cf7ed1d1dfc4701e5e06306d Mon Sep 17 00:00:00 2001 From: hai007 Date: Wed, 27 Jul 2022 23:58:33 -0700 Subject: [PATCH] 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 --- proto/errorcode/error_code_enums.proto | 2 ++ 1 file changed, 2 insertions(+) diff --git a/proto/errorcode/error_code_enums.proto b/proto/errorcode/error_code_enums.proto index 7ebf8cad..6bce2d92 100644 --- a/proto/errorcode/error_code_enums.proto +++ b/proto/errorcode/error_code_enums.proto @@ -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; }