Merge "Allow pressing home button on recents if command queue not empty" into udc-qpr-dev

This commit is contained in:
Vinit Nayak authored and Android (Google) Code Review committed 2023-07-12 20:58:59 +00:00
commit cf6b71a14e
6 files changed
+14 -13

No files matched your search

@@ -1328,9 +1328,9 @@ public class QuickstepLauncher extends Launcher {
: groupTask.mSplitBounds.leftTaskPercent);
}
public boolean isCommandQueueEmpty() {
public boolean canStartHomeSafely() {
OverviewCommandHelper overviewCommandHelper = mTISBindHelper.getOverviewCommandHelper();
return overviewCommandHelper == null || overviewCommandHelper.isCommandQueueEmpty();
return overviewCommandHelper == null || overviewCommandHelper.canStartHomeSafely();
}
private static final class LauncherTaskViewController extends