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

Commit 093ef5fa authored by Anushree Ganjam's avatar Anushree Ganjam Committed by Android (Google) Code Review
Browse files

Merge "When AllAppsSearchBarController's mInput edit text focus is false, we...

Merge "When AllAppsSearchBarController's mInput edit text focus is false, we should hidekeyboard." into main
parents c0a1fbe8 d169cb36
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -31,7 +31,6 @@ import android.widget.TextView.OnEditorActionListener;
import com.android.launcher3.ExtendedEditText;
import com.android.launcher3.Utilities;
import com.android.launcher3.allapps.BaseAllAppsAdapter.AdapterItem;
import com.android.launcher3.config.FeatureFlags;
import com.android.launcher3.search.SearchAlgorithm;
import com.android.launcher3.search.SearchCallback;
import com.android.launcher3.views.ActivityContext;
@@ -144,7 +143,7 @@ public class AllAppsSearchBarController

    @Override
    public void onFocusChange(View view, boolean hasFocus) {
        if (!hasFocus && !FeatureFlags.ENABLE_DEVICE_SEARCH.get()) {
        if (!hasFocus) {
            mInput.hideKeyboard();
        }
    }