Loading core/java/android/app/slice/Slice.java +10 −0 Original line number Diff line number Diff line Loading @@ -57,6 +57,16 @@ public final class Slice implements Parcelable { HINT_NO_TINT, HINT_PARTIAL}) public @interface SliceHint{ } /** * The meta-data key that allows an activity to easily be linked directly to a slice. * <p> * An activity can be statically linked to a slice uri by including a meta-data item * for this key that contains a valid slice uri for the same application declaring * the activity. * @hide */ public static final String SLICE_METADATA_KEY = "android.metadata.SLICE_URI"; /** * Hint that this content is a title of other content in the slice. This can also indicate that * the content should be used in the shortcut representation of the slice (icon, label, action), Loading Loading
core/java/android/app/slice/Slice.java +10 −0 Original line number Diff line number Diff line Loading @@ -57,6 +57,16 @@ public final class Slice implements Parcelable { HINT_NO_TINT, HINT_PARTIAL}) public @interface SliceHint{ } /** * The meta-data key that allows an activity to easily be linked directly to a slice. * <p> * An activity can be statically linked to a slice uri by including a meta-data item * for this key that contains a valid slice uri for the same application declaring * the activity. * @hide */ public static final String SLICE_METADATA_KEY = "android.metadata.SLICE_URI"; /** * Hint that this content is a title of other content in the slice. This can also indicate that * the content should be used in the shortcut representation of the slice (icon, label, action), Loading