summaryrefslogtreecommitdiff
path: root/src_plugins
diff options
context:
space:
mode:
author Hyunyoung Song <hyunyoungs@google.com> 2021-12-09 00:41:58 -0800
committer Becky Qiu <xuqiu@google.com> 2021-12-09 12:36:20 -0800
commit4a77efe99d3c7e323efb736b8f1b99fc08ee3789 (patch)
tree8453293eb6bdc2d0e0e6c6c23bd953f38acb1db0 /src_plugins
parentb58230d15b186940e569c1af641ee4542ec2f28f (diff)
Add setSuggestOnChrome method to OneSearch interface
Bug: 205872450 Test: manual Change-Id: Ib1513111e5d633d7504a386036b44e5e1ee0e1a9
Diffstat (limited to 'src_plugins')
-rw-r--r--src_plugins/com/android/systemui/plugins/OneSearch.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src_plugins/com/android/systemui/plugins/OneSearch.java b/src_plugins/com/android/systemui/plugins/OneSearch.java
index 13a956bd80..534bc87df4 100644
--- a/src_plugins/com/android/systemui/plugins/OneSearch.java
+++ b/src_plugins/com/android/systemui/plugins/OneSearch.java
@@ -28,7 +28,7 @@ import java.util.ArrayList;
@ProvidesInterface(action = OneSearch.ACTION, version = OneSearch.VERSION)
public interface OneSearch extends Plugin {
String ACTION = "com.android.systemui.action.PLUGIN_ONE_SEARCH";
- int VERSION = 5;
+ int VERSION = 6;
/**
* Get the content provider warmed up.
@@ -45,6 +45,8 @@ public interface OneSearch extends Plugin {
/** Get image bitmap with the URL. */
Parcelable getImageBitmap(String imageUrl);
+ void setSuggestOnChrome(boolean enable);
+
/**
* Notifies search events to plugin
*