Add setSuggestOnChrome method to OneSearch interface

Bug: 205872450
Test: manual
Change-Id: Ib1513111e5d633d7504a386036b44e5e1ee0e1a9
This commit is contained in:
Hyunyoung Song
2021-12-09 00:41:58 -08:00
committed by Becky Qiu
parent b58230d15b
commit 4a77efe99d

View File

@@ -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
*