Immediately close taskbar all apps on swipe up gesture.

Test: Manual
Fix: 219981339
Change-Id: I306a8aa1c55464718a1318f87007d68c383e461e
This commit is contained in:
Brian Isganitis
2022-03-04 10:58:53 -08:00
parent 80fed35379
commit 56b179350b
5 changed files with 20 additions and 2 deletions

View File

@@ -131,6 +131,11 @@ public final class TaskbarAllAppsController implements OnDeviceProfileChangeList
.setPredictedApps(mPredictedApps);
}
/** Closes the {@link TaskbarAllAppsContainerView}. */
public void hide() {
mProxyView.close(true);
}
/**
* Removes the all apps window from the hierarchy, if all floating views are closed and there is
* no system drag operation in progress.