Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a4d1e9aa authored by Schneider Victor-tulias's avatar Schneider Victor-tulias Committed by Android (Google) Code Review
Browse files

Merge "Remove unnecessary method from StatefulActivity" into udc-qpr-dev

parents befe262d 9c18ce48
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -1305,11 +1305,9 @@ public class QuickstepLauncher extends Launcher {
                                : groupTask.mSplitBounds.leftTaskPercent);
    }

    @Override
    public boolean isCommandQueueEmpty() {
        OverviewCommandHelper overviewCommandHelper = mTISBindHelper.getOverviewCommandHelper();
        return super.isCommandQueueEmpty()
                && (overviewCommandHelper == null || overviewCommandHelper.isCommandQueueEmpty());
        return overviewCommandHelper == null || overviewCommandHelper.isCommandQueueEmpty();
    }

    private static final class LauncherTaskViewController extends
+1 −3
Original line number Diff line number Diff line
@@ -467,10 +467,8 @@ public final class RecentsActivity extends StatefulActivity<RecentsState> {
        };
    }

    @Override
    public boolean isCommandQueueEmpty() {
        OverviewCommandHelper overviewCommandHelper = mTISBindHelper.getOverviewCommandHelper();
        return super.isCommandQueueEmpty()
                && (overviewCommandHelper == null || overviewCommandHelper.isCommandQueueEmpty());
        return overviewCommandHelper == null || overviewCommandHelper.isCommandQueueEmpty();
    }
}
+1 −1
Original line number Diff line number Diff line
@@ -86,7 +86,7 @@ public class FallbackRecentsView extends RecentsView<RecentsActivity, RecentsSta
    }

    @Override
    public boolean isCommandQueueEmpty() {
    protected boolean isCommandQueueEmpty() {
        return mActivity.isCommandQueueEmpty();
    }

+1 −1
Original line number Diff line number Diff line
@@ -90,7 +90,7 @@ public class LauncherRecentsView extends RecentsView<QuickstepLauncher, Launcher
    }

    @Override
    public boolean isCommandQueueEmpty() {
    protected boolean isCommandQueueEmpty() {
        return mActivity.isCommandQueueEmpty();
    }

+1 −1
Original line number Diff line number Diff line
@@ -2374,7 +2374,7 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T
    protected abstract void handleStartHome(boolean animated);

    /** Returns whether the overview command helper queue is empty. */
    public abstract boolean isCommandQueueEmpty();
    protected abstract boolean isCommandQueueEmpty();

    public void reset() {
        setCurrentTask(-1);
Loading