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

Commit 1b64c3b5 authored by Amith Yamasani's avatar Amith Yamasani
Browse files

Don't change keyboard state in setIconifiedByDefault.

Bug: 3225887
Bug: 3453253 (possibly)

Since some apps call setIconifiedByDefault(false) at the initialization step,
it isn't a good idea to open/close the keyboard during this call. Apps
can call setIconified(false) instead to invoke the keyboard.

Change-Id: I9d5d08b74055a3e99053d647df0cd4c7953bae80
parent eefdd709
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -394,7 +394,6 @@ public class SearchView extends LinearLayout {
        if (mIconifiedByDefault == iconified) return;
        mIconifiedByDefault = iconified;
        updateViewsVisibility(iconified);
        setImeVisibility(!iconified);
    }

    /**