summaryrefslogtreecommitdiffstats
path: root/policy
diff options
context:
space:
mode:
Diffstat (limited to 'policy')
-rw-r--r--policy/src/com/android/internal/policy/impl/PhoneWindowManager.java6
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);