mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-14 08:08:21 +00:00
Add setSuggestOnChrome method to OneSearch interface
Bug: 205872450 Test: manual Change-Id: Ib1513111e5d633d7504a386036b44e5e1ee0e1a9
This commit is contained in:
committed by
Becky Qiu
parent
b58230d15b
commit
4a77efe99d
@@ -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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user