diff --git a/core/java/android/app/Notification.java b/core/java/android/app/Notification.java index 297b9ff1af168..e56274aa4fd24 100644 --- a/core/java/android/app/Notification.java +++ b/core/java/android/app/Notification.java @@ -646,7 +646,8 @@ public class Notification implements Parcelable public static final int FLAG_IMMEDIATE_FGS_DISPLAY = 0x00002000; /** @hide */ - @IntDef({FLAG_SHOW_LIGHTS, FLAG_ONGOING_EVENT, FLAG_INSISTENT, FLAG_ONLY_ALERT_ONCE, + @IntDef(flag = true, prefix = { "FLAG_" }, value = {FLAG_SHOW_LIGHTS, FLAG_ONGOING_EVENT, + FLAG_INSISTENT, FLAG_ONLY_ALERT_ONCE, FLAG_AUTO_CANCEL, FLAG_NO_CLEAR, FLAG_FOREGROUND_SERVICE, FLAG_HIGH_PRIORITY, FLAG_LOCAL_ONLY, FLAG_GROUP_SUMMARY, FLAG_AUTOGROUP_SUMMARY, FLAG_BUBBLE, FLAG_IMMEDIATE_FGS_DISPLAY})