From 241be987e90cae4f83215bcdfe0594c8cba23be4 Mon Sep 17 00:00:00 2001 From: erfanian Date: Mon, 20 Nov 2017 10:41:31 -0800 Subject: Use correct field type for annotation definition. Test: TAP PiperOrigin-RevId: 176382315 Change-Id: I5bb2342012e401dd28dcce440126e73b744523e5 --- java/com/android/contacts/common/ContactsUtils.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'java/com') diff --git a/java/com/android/contacts/common/ContactsUtils.java b/java/com/android/contacts/common/ContactsUtils.java index 66ccc90e7..bc0e42300 100644 --- a/java/com/android/contacts/common/ContactsUtils.java +++ b/java/com/android/contacts/common/ContactsUtils.java @@ -79,6 +79,7 @@ public class ContactsUtils { * running inside Work Profile. */ @Retention(RetentionPolicy.SOURCE) - @IntDef({USER_TYPE_CURRENT, USER_TYPE_WORK}) + // TODO: Switch to @LongDef when @LongDef is available in the support library + @IntDef({(int) USER_TYPE_CURRENT, (int) USER_TYPE_WORK}) public @interface UserType {} } -- cgit v1.2.3