Merge "Check null for actinosView in resetPaddingFromTaskSize" into sc-dev
This commit is contained in:
@@ -1165,6 +1165,7 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T
|
|||||||
updateTaskSize();
|
updateTaskSize();
|
||||||
|
|
||||||
// Update ActionsView position
|
// Update ActionsView position
|
||||||
|
if (mActionsView != null) {
|
||||||
FrameLayout.LayoutParams layoutParams =
|
FrameLayout.LayoutParams layoutParams =
|
||||||
(FrameLayout.LayoutParams) mActionsView.getLayoutParams();
|
(FrameLayout.LayoutParams) mActionsView.getLayoutParams();
|
||||||
if (dp.isTablet && FeatureFlags.ENABLE_OVERVIEW_GRID.get()) {
|
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);
|
mActionsView.setLayoutParams(layoutParams);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Updates TaskView scaling and translation required to support variable width.
|
* Updates TaskView scaling and translation required to support variable width.
|
||||||
|
|||||||
Reference in New Issue
Block a user