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

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

Merge "Check null for actinosView in resetPaddingFromTaskSize" into sc-dev

parents 6f0dc999 e485941c
Loading
Loading
Loading
Loading
+19 −17
Original line number Diff line number Diff line
@@ -1165,6 +1165,7 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T
        updateTaskSize();

        // Update ActionsView position
        if (mActionsView != null) {
            FrameLayout.LayoutParams layoutParams =
                    (FrameLayout.LayoutParams) mActionsView.getLayoutParams();
            if (dp.isTablet && FeatureFlags.ENABLE_OVERVIEW_GRID.get()) {
@@ -1184,6 +1185,7 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T
            }
            mActionsView.setLayoutParams(layoutParams);
        }
    }

    /**
     * Updates TaskView scaling and translation required to support variable width.