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

Commit 5bebd1e9 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Unhide HINT_HIDDEN from slices api and rename to HINT_SHORTCUT"

parents 7e7ffd40 225e0dac
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -7035,6 +7035,7 @@ package android.app.slice {
    field public static final java.lang.String HINT_NO_TINT = "no_tint";
    field public static final java.lang.String HINT_PARTIAL = "partial";
    field public static final java.lang.String HINT_SELECTED = "selected";
    field public static final java.lang.String HINT_SHORTCUT = "shortcut";
    field public static final java.lang.String HINT_SUMMARY = "summary";
    field public static final java.lang.String HINT_TITLE = "title";
    field public static final java.lang.String SUBTYPE_COLOR = "color";
+4 −6
Original line number Diff line number Diff line
@@ -63,7 +63,7 @@ public final class Slice implements Parcelable {
            HINT_ACTIONS,
            HINT_SELECTED,
            HINT_NO_TINT,
            HINT_HIDDEN,
            HINT_SHORTCUT,
            HINT_TOGGLE,
            HINT_HORIZONTAL,
            HINT_PARTIAL,
@@ -118,12 +118,10 @@ public final class Slice implements Parcelable {
     */
    public static final String HINT_NO_TINT     = "no_tint";
    /**
     * Hint to indicate that this content should not be shown in larger renderings
     * of Slices. This content may be used to populate the shortcut/icon
     * format of the slice.
     * @hide
     * Hint to indicate that this content should only be displayed if the slice is presented
     * as a shortcut.
     */
    public static final String HINT_HIDDEN = "hidden";
    public static final String HINT_SHORTCUT = "shortcut";
    /**
     * Hint indicating this content should be shown instead of the normal content when the slice
     * is in small format.