mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-05 10:26:52 +00:00
Merge "Ensuring that AllAppsGridAdapter is public." into ub-launcher3-burnaby
This commit is contained in:
@@ -47,7 +47,7 @@
|
||||
android:gravity="fill_horizontal|center_vertical"
|
||||
android:hint="@string/all_apps_search_bar_hint"
|
||||
android:inputType="text|textNoSuggestions|textCapWords"
|
||||
android:imeOptions="actionDone|flagNoExtractUi"
|
||||
android:imeOptions="actionSearch|flagNoExtractUi"
|
||||
android:maxLines="1"
|
||||
android:paddingLeft="8dp"
|
||||
android:scrollHorizontally="true"
|
||||
|
||||
@@ -49,7 +49,7 @@ import java.util.List;
|
||||
/**
|
||||
* The grid view adapter of all the apps.
|
||||
*/
|
||||
class AllAppsGridAdapter extends RecyclerView.Adapter<AllAppsGridAdapter.ViewHolder> {
|
||||
public class AllAppsGridAdapter extends RecyclerView.Adapter<AllAppsGridAdapter.ViewHolder> {
|
||||
|
||||
public static final String TAG = "AppsGridAdapter";
|
||||
private static final boolean DEBUG = false;
|
||||
|
||||
@@ -166,7 +166,7 @@ final class DefaultAppSearchController extends AllAppsSearchBarController
|
||||
return false;
|
||||
}
|
||||
// Skip if it's not the right action
|
||||
if (actionId != EditorInfo.IME_ACTION_DONE) {
|
||||
if (actionId != EditorInfo.IME_ACTION_SEARCH) {
|
||||
return false;
|
||||
}
|
||||
// Skip if there are more than one icon
|
||||
|
||||
Reference in New Issue
Block a user