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

Commit e8b200eb authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix NPE when mRecentsView is null"

parents 32319bf1 b1c3f881
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1198,10 +1198,10 @@ public abstract class AbsSwipeUpHandler<T extends StatefulActivity<S>,
            // We probably never received an animation controller, skip logging.
            return;
        }
        int pageIndex = endTarget == LAST_TASK
        int pageIndex = endTarget == LAST_TASK || mRecentsView == null
                ? LOG_NO_OP_PAGE_INDEX
                : mRecentsView.getNextPage();
        // TODO: set correct container using the pageIndex
        logger.withRank(pageIndex);
        logger.log(event);
    }