Revert "Update onOverviewShown interface to get signal of whethe..."

Revert submission 20956764-alt_tab_forward

Reason for revert: Actually we dont need these changes after all. SHIFT doesn't matter in the initial tab to overview. The subsequent tabs are handled by RecentsView and we already have a check on shift

Reverted changes: /q/submissionid:20956764-alt_tab_forward

Change-Id: I42b03d10f30ef137c98005bb46e23f8516720236
This commit is contained in:
Tracy Zhou
2023-01-19 19:33:39 +00:00
committed by Android (Google) Code Review
parent 6fb8b3cec4
commit a026d1f80a

View File

@@ -197,7 +197,7 @@ public class TouchInteractionService extends Service
@BinderThread
@Override
public void onOverviewShown(boolean triggeredFromAltTab, boolean forward) {
public void onOverviewShown(boolean triggeredFromAltTab) {
if (triggeredFromAltTab) {
TaskUtils.closeSystemWindowsAsync(CLOSE_SYSTEM_WINDOWS_REASON_RECENTS);
mOverviewCommandHelper.addCommand(OverviewCommandHelper.TYPE_SHOW_NEXT_FOCUS);