Merge "Remove Global Actions Panel top margin."

This commit is contained in:
TreeHugger Robot
2019-03-11 17:30:49 +00:00
committed by Android (Google) Code Review
2 changed files with 0 additions and 5 deletions

View File

@@ -872,9 +872,6 @@
<!-- Global actions grid layout -->
<dimen name="global_actions_grid_side_margin">4dp</dimen>
<!-- Global actions panel -->
<dimen name="global_actions_panel_top_margin">85dp</dimen>
<!-- The maximum offset in either direction that elements are moved horizontally to prevent
burn-in on AOD. -->
<dimen name="burn_in_prevention_offset_x">8dp</dimen>

View File

@@ -1557,8 +1557,6 @@ public class GlobalActionsDialog implements DialogInterface.OnDismissListener,
new FrameLayout.LayoutParams(
FrameLayout.LayoutParams.MATCH_PARENT,
FrameLayout.LayoutParams.WRAP_CONTENT);
panelParams.topMargin = mContext.getResources().getDimensionPixelSize(
com.android.systemui.R.dimen.global_actions_panel_top_margin);
panelContainer.addView(panelView, panelParams);
return panelContainer;
}