commit | 241be987e90cae4f83215bcdfe0594c8cba23be4 | [log] [tgz] |
---|---|---|
author | erfanian <erfanian@google.com> | Mon Nov 20 10:41:31 2017 -0800 |
committer | Copybara-Service <copybara-piper@google.com> | Mon Nov 20 11:10:54 2017 -0800 |
tree | 1b927565fcc7d66fcbf8520333407183ab387e77 | |
parent | 8d272bb15d3bb20b541da9f675bc5738cdfc2484 [diff] |
Use correct field type for annotation definition. Test: TAP PiperOrigin-RevId: 176382315 Change-Id: I5bb2342012e401dd28dcce440126e73b744523e5
diff --git a/java/com/android/contacts/common/ContactsUtils.java b/java/com/android/contacts/common/ContactsUtils.java index 66ccc90..bc0e423 100644 --- a/java/com/android/contacts/common/ContactsUtils.java +++ b/java/com/android/contacts/common/ContactsUtils.java
@@ -79,6 +79,7 @@ * 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 {} }