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

Commit 39bf4351 authored by Mady Mellor's avatar Mady Mellor
Browse files

Adds hint summary to slice

Test: manual -- in support lib with slice demo app, add a summary
      note that it appears when slice is in small format and doesn't
      appear when slice is in large format
Bug: 68378574
Change-Id: Id96e5597311189b0352e1763c678ccf7079d2db1
parent 6cca6d50
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -7007,6 +7007,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_SUMMARY = "summary";
    field public static final java.lang.String HINT_TITLE = "title";
    field public static final java.lang.String SUBTYPE_MESSAGE = "message";
    field public static final java.lang.String SUBTYPE_SOURCE = "source";
+5 −0
Original line number Diff line number Diff line
@@ -110,6 +110,11 @@ public final class Slice implements Parcelable {
     * @hide
     */
    public static final String HINT_HIDDEN = "hidden";
    /**
     * Hint indicating this content should be shown instead of the normal content when the slice
     * is in small format.
     */
    public static final String HINT_SUMMARY = "summary";
    /**
     * Hint to indicate that this content has a toggle action associated with it. To indicate that
     * the toggle is on, use {@link #HINT_SELECTED}. When the toggle state changes, the intent