summaryrefslogtreecommitdiff
path: root/core/java/android/slice/SliceQuery.java
diff options
context:
space:
mode:
Diffstat (limited to 'core/java/android/slice/SliceQuery.java')
-rw-r--r--core/java/android/slice/SliceQuery.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/core/java/android/slice/SliceQuery.java b/core/java/android/slice/SliceQuery.java
index edac0ccaf1dd..d99b26a507e4 100644
--- a/core/java/android/slice/SliceQuery.java
+++ b/core/java/android/slice/SliceQuery.java
@@ -61,6 +61,13 @@ public class SliceQuery {
/**
* @hide
*/
+ public static List<SliceItem> findAll(SliceItem s, int type) {
+ return findAll(s, type, (String[]) null, null);
+ }
+
+ /**
+ * @hide
+ */
public static List<SliceItem> findAll(SliceItem s, int type, String hints, String nonHints) {
return findAll(s, type, new String[]{ hints }, new String[]{ nonHints });
}
@@ -85,6 +92,13 @@ public class SliceQuery {
/**
* @hide
*/
+ public static SliceItem find(Slice s, int type) {
+ return find(s, type, (String[]) null, null);
+ }
+
+ /**
+ * @hide
+ */
public static SliceItem find(SliceItem s, int type) {
return find(s, type, (String[]) null, null);
}