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

Commit f1d9e2ac authored by Alison Cichowlas's avatar Alison Cichowlas
Browse files

Correct capitalization of string constant.

Should be consistent with other notification extras, not with the intent-specific extras. 

Bug: 410621769
Test: cts tests
Flag: android.app.opt_in_rich_ongoing
Change-Id: Iff815897905808adc0a22b6409dea39a86841d88
parent 084f5555
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -6599,7 +6599,7 @@ package android.app {
    field public static final String EXTRA_PROGRESS_MAX = "android.progressMax";
    field public static final String EXTRA_REMOTE_INPUT_DRAFT = "android.remoteInputDraft";
    field public static final String EXTRA_REMOTE_INPUT_HISTORY = "android.remoteInputHistory";
    field @FlaggedApi("android.app.opt_in_rich_ongoing") public static final String EXTRA_REQUEST_PROMOTED_ONGOING = "android.REQUEST_PROMOTED_ONGOING";
    field @FlaggedApi("android.app.opt_in_rich_ongoing") public static final String EXTRA_REQUEST_PROMOTED_ONGOING = "android.requestPromotedOngoing";
    field @Deprecated public static final String EXTRA_SELF_DISPLAY_NAME = "android.selfDisplayName";
    field public static final String EXTRA_SHOW_BIG_PICTURE_WHEN_COLLAPSED = "android.showBigPictureWhenCollapsed";
    field public static final String EXTRA_SHOW_CHRONOMETER = "android.showChronometer";
+8 −7
Original line number Diff line number Diff line
@@ -235,13 +235,6 @@ public class Notification implements Parcelable
     */
    public static final String EXTRA_NOTIFICATION_ID = "android.intent.extra.NOTIFICATION_ID";
    /**
     * Optional extra for {@link Notification}. If provided, should contain a boolean indicating
     * whether the notification is requesting promoted treatment.
     */
    @FlaggedApi(Flags.FLAG_OPT_IN_RICH_ONGOING)
    public static final String EXTRA_REQUEST_PROMOTED_ONGOING = "android.REQUEST_PROMOTED_ONGOING";
    /**
     * Use all default values (where applicable).
     */
@@ -1736,6 +1729,13 @@ public class Notification implements Parcelable
    @FlaggedApi(Flags.FLAG_API_RICH_ONGOING)
    public static final String EXTRA_PROGRESS_END_ICON = "android.progressEndIcon";
    /**
     * {@link #extras} key: If provided, should contain a boolean indicating
     * whether the notification is requesting promoted treatment.
     */
    @FlaggedApi(Flags.FLAG_OPT_IN_RICH_ONGOING)
    public static final String EXTRA_REQUEST_PROMOTED_ONGOING = "android.requestPromotedOngoing";
    /**
     * @hide
     */
@@ -1797,6 +1797,7 @@ public class Notification implements Parcelable
     */
    public static final String EXTRA_SUMMARIZED_CONTENT = "android.summarization";
    @UnsupportedAppUsage
    private Icon mSmallIcon;
    @UnsupportedAppUsage