Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3118d244 authored by Becky Qiu's avatar Becky Qiu Committed by Android (Google) Code Review
Browse files

Merge "[OneSearch] Add a clear function in the plugin to clear cache and memory." into sc-v2-dev

parents 507e9766 a499fd4f
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -29,7 +29,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 = 1;
    int VERSION = 2;

    /**
     * Get the content provider warmed up.
@@ -53,4 +53,7 @@ public interface OneSearch extends Plugin {
     * @param suggest The suggest to get the subtitle for.
     */
    String getSubtitle(Spanned suggest);

    /** Clear any cached data or storage used in search. */
    void clear();
}