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

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

Merge "Add hint to indicate 'see more' type content"

parents 588a06f5 fd1cbb82
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -7094,6 +7094,7 @@ package android.app.slice {
    field public static final java.lang.String HINT_MAX = "max";
    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_SEE_MORE = "see_more";
    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";
+6 −1
Original line number Diff line number Diff line
@@ -65,6 +65,7 @@ public final class Slice implements Parcelable {
            HINT_TOGGLE,
            HINT_HORIZONTAL,
            HINT_PARTIAL,
            HINT_SEE_MORE
    })
    @Retention(RetentionPolicy.SOURCE)
    public @interface SliceHint {}
@@ -149,7 +150,11 @@ public final class Slice implements Parcelable {
     * Used to indicate the maximum integer value for a {@link #SUBTYPE_SLIDER}.
     */
    public static final String HINT_MAX = "max";

    /**
     * A hint representing that this item should be used to indicate that there's more
     * content associated with this slice.
     */
    public static final String HINT_SEE_MORE = "see_more";
    /**
     * Key to retrieve an extra added to an intent when a control is changed.
     */