Starting market search whenever the search key is pressed

Bug: 27365428
Change-Id: I508cb35cd1aaab1eac6cf60014fa6f80592365ef
This commit is contained in:
Sunny Goyal
2016-03-02 11:32:18 -08:00
parent a10bf37446
commit 992a5f566e
3 changed files with 11 additions and 27 deletions

View File

@@ -566,7 +566,7 @@ public class AllAppsGridAdapter extends RecyclerView.Adapter<AllAppsGridAdapter.
/**
* Creates a new market search intent.
*/
private Intent createMarketSearchIntent(String query) {
public static Intent createMarketSearchIntent(String query) {
Uri marketSearchUri = Uri.parse("market://search")
.buildUpon()
.appendQueryParameter("q", query)