Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 028d0c4a authored by Prakriti Gupta's avatar Prakriti Gupta Committed by Android (Google) Code Review
Browse files

Merge "Add category for voicemail that can be used to filter notifications" into main

parents 8356a5c5 0c0eca73
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -6355,6 +6355,7 @@ package android.app {
    field public static final String CATEGORY_STOPWATCH = "stopwatch";
    field public static final String CATEGORY_SYSTEM = "sys";
    field public static final String CATEGORY_TRANSPORT = "transport";
    field @FlaggedApi("android.app.category_voicemail") public static final String CATEGORY_VOICEMAIL = "voicemail";
    field public static final String CATEGORY_WORKOUT = "workout";
    field @ColorInt public static final int COLOR_DEFAULT = 0; // 0x0
    field @NonNull public static final android.os.Parcelable.Creator<android.app.Notification> CREATOR;
+6 −0
Original line number Diff line number Diff line
@@ -1060,6 +1060,12 @@ public class Notification implements Parcelable
     */
    public static final String CATEGORY_MISSED_CALL = "missed_call";
    /**
     * Notification category: voicemail.
     */
    @FlaggedApi(Flags.FLAG_CATEGORY_VOICEMAIL)
    public static final String CATEGORY_VOICEMAIL = "voicemail";
    /**
     * One of the predefined notification categories (see the <code>CATEGORY_*</code> constants)
     * that best describes this Notification.  May be used by the system for ranking and filtering.
+7 −0
Original line number Diff line number Diff line
@@ -43,3 +43,10 @@ flag {
  description: "Fixes the behavior of KeyguardManager#setPrivateNotificationsAllowed()"
  bug: "309920145"
}

flag {
  name: "category_voicemail"
  namespace: "wear_sysui"
  description: "Adds a new voicemail category for notifications"
  bug: "322806700"
}