From 4a77efe99d3c7e323efb736b8f1b99fc08ee3789 Mon Sep 17 00:00:00 2001 From: Hyunyoung Song Date: Thu, 9 Dec 2021 00:41:58 -0800 Subject: [PATCH] Add setSuggestOnChrome method to OneSearch interface Bug: 205872450 Test: manual Change-Id: Ib1513111e5d633d7504a386036b44e5e1ee0e1a9 --- src_plugins/com/android/systemui/plugins/OneSearch.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 *