diff options
author | erfanian <erfanian@google.com> | 2017-11-20 10:41:31 -0800 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2017-11-20 12:29:04 -0800 |
commit | 4c3b1296c17cce016d5462c1cc47c006708b8d97 (patch) | |
tree | 1b927565fcc7d66fcbf8520333407183ab387e77 /java | |
parent | 2c3d11eff44a8b61b32c0781a7cfc3b94a1d453d (diff) |
Use correct field type for annotation definition.
Test: TAP
PiperOrigin-RevId: 176382315
Change-Id: Ifb41457ad54cdffe9d721f6c13ee985b0a30149a
Diffstat (limited to 'java')
-rw-r--r-- | java/com/android/contacts/common/ContactsUtils.java | 3 |
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 {} } |