summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
Diffstat (limited to 'java')
-rw-r--r--java/com/android/contacts/common/ContactsUtils.java3
1 files changed, 2 insertions, 1 deletions
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 {}
}