Merge "[OneSearch] Add a clear function in the plugin to clear cache and memory." into sc-v2-dev
diff --git a/src_plugins/com/android/systemui/plugins/OneSearch.java b/src_plugins/com/android/systemui/plugins/OneSearch.java
index 59ee4f4..6d57c19 100644
--- a/src_plugins/com/android/systemui/plugins/OneSearch.java
+++ b/src_plugins/com/android/systemui/plugins/OneSearch.java
@@ -29,7 +29,7 @@
 @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 @@
      * @param suggest The suggest to get the subtitle for.
      */
     String getSubtitle(Spanned suggest);
+
+    /** Clear any cached data or storage used in search. */
+    void clear();
 }