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 Diff line number Diff line
@@ -107,10 +107,9 @@ public final class FallbackActivityInterface extends
    public RecentsView getVisibleRecentsView() {
        RecentsActivity activity = getCreatedActivity();
        if (activity != null) {
            RecentsView recentsView = activity.getOverviewPanel();
            if (activity.hasBeenResumed() || (ENABLE_QUICKSTEP_LIVE_TILE.get() && isInLiveTileMode()
                    && recentsView.getRunningTaskId() == -1)) {
                return recentsView;
            if (activity.hasBeenResumed()
                    || (ENABLE_QUICKSTEP_LIVE_TILE.get() && isInLiveTileMode())) {
                return activity.getOverviewPanel();
            }
        }
        return null;