diff options
| author | TreeHugger Robot <treehugger-gerrit@google.com> | 2018-03-02 19:14:26 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2018-03-02 19:14:26 +0000 |
| commit | 3c4c64455e53e0dd6330cfc6056507d6db4c3d7b (patch) | |
| tree | e6c535ae0c5f0b5a7c2ba51cb6b6d0c812871b92 /core/java/android | |
| parent | a793e508496e12c021881a49fdc17d6a1024eee0 (diff) | |
| parent | 15e2c5d54dbd83eebc9a5bc767fcdf30f659afca (diff) | |
Merge "Add a HINT_KEYWORDS to Slice"
Diffstat (limited to 'core/java/android')
| -rw-r--r-- | core/java/android/app/slice/Slice.java | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/core/java/android/app/slice/Slice.java b/core/java/android/app/slice/Slice.java index b5c69d8897c7..65e54f97e215 100644 --- a/core/java/android/app/slice/Slice.java +++ b/core/java/android/app/slice/Slice.java @@ -65,7 +65,8 @@ public final class Slice implements Parcelable { HINT_TOGGLE, HINT_HORIZONTAL, HINT_PARTIAL, - HINT_SEE_MORE + HINT_SEE_MORE, + HINT_KEY_WORDS }) @Retention(RetentionPolicy.SOURCE) public @interface SliceHint {} @@ -149,6 +150,11 @@ public final class Slice implements Parcelable { */ public static final String HINT_CALLER_NEEDED = "caller_needed"; /** + * A hint to indicate that the contents of this subslice represent a list of keywords + * related to the parent slice. + */ + public static final String HINT_KEY_WORDS = "key_words"; + /** * Key to retrieve an extra added to an intent when a control is changed. */ public static final String EXTRA_TOGGLE_STATE = "android.app.slice.extra.TOGGLE_STATE"; |
