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

Commit 747d2d4b authored by Amith Yamasani's avatar Amith Yamasani
Browse files

Use a Go button instead of a magnifying glass in the keyboard for in-app search.

bug: 2197781
parent 4ea0628a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -303,7 +303,7 @@ public final class SearchableInfo implements Parcelable {
                InputType.TYPE_CLASS_TEXT |
                InputType.TYPE_TEXT_VARIATION_NORMAL);
        mSearchImeOptions = a.getInt(com.android.internal.R.styleable.Searchable_imeOptions, 
                EditorInfo.IME_ACTION_SEARCH);
                EditorInfo.IME_ACTION_GO);
        mIncludeInGlobalSearch = a.getBoolean(
                com.android.internal.R.styleable.Searchable_includeInGlobalSearch, false);
        mQueryAfterZeroResults = a.getBoolean(
@@ -672,7 +672,7 @@ public final class SearchableInfo implements Parcelable {
    
    /**
     * Return the input method options specified in the searchable attributes.
     * This will default to EditorInfo.ACTION_SEARCH if not specified (which is
     * This will default to EditorInfo.ACTION_GO if not specified (which is
     * appropriate for a search box).
     * 
     * @return the input type