diff options
author | Fabian Kozynski <kozynski@google.com> | 2021-04-28 19:59:15 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2021-04-28 19:59:15 +0000 |
commit | a3a8f663ddcd17915bf01ec5fde229eb5264fe6c (patch) | |
tree | b39adbdced85d6acf5374d4c795e6665ead47267 | |
parent | 99ef33fe9cb353eb5507b032ecd6ab39c73ac564 (diff) | |
parent | 416a475747483c7c4182a83b6c02e7d546fa99a2 (diff) |
Merge "Use full top padding even in HorizontalLayout" into sc-dev
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/qs/QSPanel.java | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/qs/QSPanel.java b/packages/SystemUI/src/com/android/systemui/qs/QSPanel.java index 1a950a041e0f..f7b6686ec906 100644 --- a/packages/SystemUI/src/com/android/systemui/qs/QSPanel.java +++ b/packages/SystemUI/src/com/android/systemui/qs/QSPanel.java @@ -301,12 +301,6 @@ public class QSPanel extends LinearLayout implements Tunable { protected void updatePadding() { final Resources res = mContext.getResources(); int padding = res.getDimensionPixelSize(R.dimen.qs_panel_padding_top); - if (mUsingHorizontalLayout) { - // When using the horizontal layout, our space is quite constrained. We therefore - // reduce some of the padding on the top, which makes the brightness bar overlapp, - // but since that has naturally quite a bit of built in padding, that's fine. - padding = (int) (padding * 0.6f); - } setPaddingRelative(getPaddingStart(), padding, getPaddingEnd(), |