diff options
author | Winson Chung <winsonc@google.com> | 2014-05-19 10:30:43 -0700 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2014-05-19 14:06:13 -0700 |
commit | 6cb485fd2e2f8ace05e1ff281ab0fc824d3652cb (patch) | |
tree | 03f4831924de2172665fac4ec5d1ae241f5f344c /policy | |
parent | d069cd5164ec4e6edcafa3fb3927675c55e5fe32 (diff) | |
download | frameworks_base-6cb485fd2e2f8ace05e1ff281ab0fc824d3652cb.zip frameworks_base-6cb485fd2e2f8ace05e1ff281ab0fc824d3652cb.tar.gz frameworks_base-6cb485fd2e2f8ace05e1ff281ab0fc824d3652cb.tar.bz2 |
Fixing regression in dismissing Recents.
- Restoring app info functionality when developer options are enabled and you long-press on the app icon.
Change-Id: I8a20ff5f595eefa20db5528c0d5b1a1f0b110834
Diffstat (limited to 'policy')
-rw-r--r-- | policy/src/com/android/internal/policy/impl/PhoneWindowManager.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java b/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java index 466c8ed..3653b17 100644 --- a/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java +++ b/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java @@ -2222,7 +2222,7 @@ public class PhoneWindowManager implements WindowManagerPolicy { } else if (!down && mRecentAppsHeldModifiers != 0 && (metaState & mRecentAppsHeldModifiers) == 0) { mRecentAppsHeldModifiers = 0; - hideRecentApps(); + hideRecentApps(true); } // Handle keyboard language switching. @@ -2430,12 +2430,12 @@ public class PhoneWindowManager implements WindowManagerPolicy { } } - private void hideRecentApps() { + private void hideRecentApps(boolean triggeredFromAltTab) { mPreloadedRecentApps = false; // preloading no longer needs to be canceled try { IStatusBarService statusbar = getStatusBarService(); if (statusbar != null) { - statusbar.hideRecentApps(); + statusbar.hideRecentApps(triggeredFromAltTab); } } catch (RemoteException e) { Slog.e(TAG, "RemoteException when closing recent apps", e); |