OSDN Git Service

Merge "Preventing a shortcut which requires permissions from being added to homescree...
[android-x86/packages-apps-Launcher3.git] / src / com / android / launcher3 / Launcher.java
index 07c2903..9ac075d 100644 (file)
@@ -951,7 +951,7 @@ public class Launcher extends Activity
             // view after launching an app, as they may be depending on the UI to be static to
             // switch to another app, otherwise, if it was
             showAppsView(false /* animated */, !launchedFromApp /* updatePredictedApps */,
-                    false /* focusSearchBar */);
+                    mAppsView.shouldRestoreImeState() /* focusSearchBar */);
         } else if (mOnResumeState == State.WIDGETS) {
             showWidgetsView(false, false);
         }