Loading quickstep/src/com/android/launcher3/uioverrides/QuickstepLauncher.java +2 −2 Original line number Diff line number Diff line Loading @@ -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 Loading quickstep/src/com/android/quickstep/OverviewCommandHelper.java +2 −2 Original line number Diff line number Diff line Loading @@ -141,8 +141,8 @@ public class OverviewCommandHelper { } @UiThread public boolean isCommandQueueEmpty() { return mPendingCommands.isEmpty(); public boolean canStartHomeSafely() { return mPendingCommands.isEmpty() || mPendingCommands.get(0).type == TYPE_HOME; } @Nullable Loading quickstep/src/com/android/quickstep/RecentsActivity.java +2 −2 Original line number Diff line number Diff line Loading @@ -470,8 +470,8 @@ public final class RecentsActivity extends StatefulActivity<RecentsState> { }; } public boolean isCommandQueueEmpty() { public boolean canStartHomeSafely() { OverviewCommandHelper overviewCommandHelper = mTISBindHelper.getOverviewCommandHelper(); return overviewCommandHelper == null || overviewCommandHelper.isCommandQueueEmpty(); return overviewCommandHelper == null || overviewCommandHelper.canStartHomeSafely(); } } quickstep/src/com/android/quickstep/fallback/FallbackRecentsView.java +2 −2 Original line number Diff line number Diff line Loading @@ -86,8 +86,8 @@ public class FallbackRecentsView extends RecentsView<RecentsActivity, RecentsSta } @Override protected boolean isCommandQueueEmpty() { return mActivity.isCommandQueueEmpty(); protected boolean canStartHomeSafely() { return mActivity.canStartHomeSafely(); } /** Loading quickstep/src/com/android/quickstep/views/LauncherRecentsView.java +2 −2 Original line number Diff line number Diff line Loading @@ -94,8 +94,8 @@ public class LauncherRecentsView extends RecentsView<QuickstepLauncher, Launcher } @Override protected boolean isCommandQueueEmpty() { return mActivity.isCommandQueueEmpty(); protected boolean canStartHomeSafely() { return mActivity.canStartHomeSafely(); } @Override Loading Loading
quickstep/src/com/android/launcher3/uioverrides/QuickstepLauncher.java +2 −2 Original line number Diff line number Diff line Loading @@ -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 Loading
quickstep/src/com/android/quickstep/OverviewCommandHelper.java +2 −2 Original line number Diff line number Diff line Loading @@ -141,8 +141,8 @@ public class OverviewCommandHelper { } @UiThread public boolean isCommandQueueEmpty() { return mPendingCommands.isEmpty(); public boolean canStartHomeSafely() { return mPendingCommands.isEmpty() || mPendingCommands.get(0).type == TYPE_HOME; } @Nullable Loading
quickstep/src/com/android/quickstep/RecentsActivity.java +2 −2 Original line number Diff line number Diff line Loading @@ -470,8 +470,8 @@ public final class RecentsActivity extends StatefulActivity<RecentsState> { }; } public boolean isCommandQueueEmpty() { public boolean canStartHomeSafely() { OverviewCommandHelper overviewCommandHelper = mTISBindHelper.getOverviewCommandHelper(); return overviewCommandHelper == null || overviewCommandHelper.isCommandQueueEmpty(); return overviewCommandHelper == null || overviewCommandHelper.canStartHomeSafely(); } }
quickstep/src/com/android/quickstep/fallback/FallbackRecentsView.java +2 −2 Original line number Diff line number Diff line Loading @@ -86,8 +86,8 @@ public class FallbackRecentsView extends RecentsView<RecentsActivity, RecentsSta } @Override protected boolean isCommandQueueEmpty() { return mActivity.isCommandQueueEmpty(); protected boolean canStartHomeSafely() { return mActivity.canStartHomeSafely(); } /** Loading
quickstep/src/com/android/quickstep/views/LauncherRecentsView.java +2 −2 Original line number Diff line number Diff line Loading @@ -94,8 +94,8 @@ public class LauncherRecentsView extends RecentsView<QuickstepLauncher, Launcher } @Override protected boolean isCommandQueueEmpty() { return mActivity.isCommandQueueEmpty(); protected boolean canStartHomeSafely() { return mActivity.canStartHomeSafely(); } @Override Loading