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

Commit 20957316 authored by Alex Chau's avatar Alex Chau Committed by Android (Google) Code Review
Browse files

Merge "Always treat FallbackRecentsView as visible if isInLiveTileMode is true" into sc-v2-dev

parents eb6391ff 455718e8
Loading
Loading
Loading
Loading
+3 −4
Original line number Original line Diff line number Diff line
@@ -107,10 +107,9 @@ public final class FallbackActivityInterface extends
    public RecentsView getVisibleRecentsView() {
    public RecentsView getVisibleRecentsView() {
        RecentsActivity activity = getCreatedActivity();
        RecentsActivity activity = getCreatedActivity();
        if (activity != null) {
        if (activity != null) {
            RecentsView recentsView = activity.getOverviewPanel();
            if (activity.hasBeenResumed()
            if (activity.hasBeenResumed() || (ENABLE_QUICKSTEP_LIVE_TILE.get() && isInLiveTileMode()
                    || (ENABLE_QUICKSTEP_LIVE_TILE.get() && isInLiveTileMode())) {
                    && recentsView.getRunningTaskId() == -1)) {
                return activity.getOverviewPanel();
                return recentsView;
            }
            }
        }
        }
        return null;
        return null;