mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-17 01:28:21 +00:00
[AllAppsSearch] Update AllAppsSearch interface to expose the activity to the plugin
Tested=Locally Change-Id: I8986eb50fea2091d8a1aea3cc1c5ee58e3692bc6
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
|
||||
package com.android.systemui.plugins;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.EditText;
|
||||
|
||||
@@ -27,8 +28,8 @@ import com.android.systemui.plugins.annotations.ProvidesInterface;
|
||||
@ProvidesInterface(action = AllAppsSearchPlugin.ACTION, version = AllAppsSearchPlugin.VERSION)
|
||||
public interface AllAppsSearchPlugin extends Plugin {
|
||||
String ACTION = "com.android.systemui.action.PLUGIN_ALL_APPS_SEARCH_ACTIONS";
|
||||
int VERSION = 1;
|
||||
int VERSION = 2;
|
||||
|
||||
void setup(ViewGroup parent);
|
||||
void setup(ViewGroup parent, Activity activity);
|
||||
void setEditText(EditText editText);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user