diff options
Diffstat (limited to 'src/com/android/launcher2/Launcher.java')
-rw-r--r-- | src/com/android/launcher2/Launcher.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/com/android/launcher2/Launcher.java b/src/com/android/launcher2/Launcher.java index fc17643b1..a68bd9b74 100644 --- a/src/com/android/launcher2/Launcher.java +++ b/src/com/android/launcher2/Launcher.java @@ -1253,6 +1253,11 @@ public final class Launcher extends Activity if (Intent.ACTION_SCREEN_OFF.equals(action)) { mUserPresent = false; updateRunning(); + + // Reset AllApps to it's initial state + if (mAllAppsGrid != null) { + mAllAppsGrid.reset(); + } } else if (Intent.ACTION_USER_PRESENT.equals(action)) { mUserPresent = true; updateRunning(); @@ -1424,6 +1429,11 @@ public final class Launcher extends Activity INPUT_METHOD_SERVICE); imm.hideSoftInputFromWindow(v.getWindowToken(), 0); } + + // Reset AllApps to it's initial state + if (mAllAppsGrid != null) { + mAllAppsGrid.reset(); + } } } |