Remove Global Actions Panel top margin.

Test: manual
Change-Id: Iae38ec90877e35d4c6998e9e49b14acf8be0e356
This commit is contained in:
Steve Elliott
2019-03-08 14:38:28 -05:00
parent bfa314a551
commit cd277188e5
2 changed files with 0 additions and 5 deletions

View File

@@ -856,9 +856,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

@@ -1558,8 +1558,6 @@ 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;
}