Using component key for app search results

Change-Id: Idc610cde340331892a5fabfa8bf952d136675f81
This commit is contained in:
Sunny Goyal
2015-06-16 11:36:19 -07:00
parent b42120300e
commit 5183285847
5 changed files with 49 additions and 82 deletions

View File

@@ -20,6 +20,8 @@ import android.graphics.Rect;
import android.view.View;
import android.view.ViewGroup;
import com.android.launcher3.util.ComponentKey;
import java.util.ArrayList;
/**
@@ -87,7 +89,7 @@ public abstract class AllAppsSearchBarController {
*
* @param apps sorted list of matching components or null if in case of failure.
*/
void onSearchResult(String query, ArrayList<ComponentName> apps);
void onSearchResult(String query, ArrayList<ComponentKey> apps);
/**
* Called when the search results should be cleared.