commit | 9b6f4a01e887173690368d1c081a033fe2803018 | [log] [tgz] |
---|---|---|
author | Winson Chung <winsonc@google.com> | Thu Feb 06 04:52:55 2020 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Thu Feb 06 04:52:55 2020 +0000 |
tree | eb45749a1a47f3fd7b94b8feb169dfb35cb90c3e | |
parent | 328c9e5ac6c75a19ffba7818f4bbd98f75ba0e98 [diff] | |
parent | cd90c054793501e311be9fab4e28349bbbb9d880 [diff] |
Merge "Close system windows when triggering alt-tab" into ub-launcher3-master
diff --git a/quickstep/recents_ui_overrides/src/com/android/quickstep/OverviewCommandHelper.java b/quickstep/recents_ui_overrides/src/com/android/quickstep/OverviewCommandHelper.java index c4733bd..fc50660 100644 --- a/quickstep/recents_ui_overrides/src/com/android/quickstep/OverviewCommandHelper.java +++ b/quickstep/recents_ui_overrides/src/com/android/quickstep/OverviewCommandHelper.java
@@ -74,6 +74,10 @@ @BinderThread public void onOverviewShown(boolean triggeredFromAltTab) { + if (triggeredFromAltTab) { + ActivityManagerWrapper.getInstance() + .closeSystemWindows(CLOSE_SYSTEM_WINDOWS_REASON_RECENTS); + } MAIN_EXECUTOR.execute(new ShowRecentsCommand(triggeredFromAltTab)); }