summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/src/com/android/systemui/qs
diff options
context:
space:
mode:
authorJason Monk <jmonk@google.com>2015-01-22 10:39:37 -0500
committerJason Monk <jmonk@google.com>2015-01-22 10:40:54 -0500
commit6ece24e10621e46d3ea49d3361ec10f6792ffb86 (patch)
tree8326a9e8d7039ecf465ad990b2426a322cd63eb5 /packages/SystemUI/src/com/android/systemui/qs
parenta27523e3e0fd6c6cab18255151f2f9ec9a72f3d6 (diff)
downloadframeworks_base-6ece24e10621e46d3ea49d3361ec10f6792ffb86.zip
frameworks_base-6ece24e10621e46d3ea49d3361ec10f6792ffb86.tar.gz
frameworks_base-6ece24e10621e46d3ea49d3361ec10f6792ffb86.tar.bz2
QS: Fix second line in dual tiles
QSDualTileLabel is no longer a FrameLayout (now a LinearLayout), so it does not need the top padding based on the caret size anymore. Bug: 18725348 Change-Id: Ibd3aaa20e7cdb35ba585cc5c8981c64efb5c66fe
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/qs')
-rw-r--r--packages/SystemUI/src/com/android/systemui/qs/QSDualTileLabel.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/qs/QSDualTileLabel.java b/packages/SystemUI/src/com/android/systemui/qs/QSDualTileLabel.java
index a9fdc86..67cfc59 100644
--- a/packages/SystemUI/src/com/android/systemui/qs/QSDualTileLabel.java
+++ b/packages/SystemUI/src/com/android/systemui/qs/QSDualTileLabel.java
@@ -100,9 +100,6 @@ public class QSDualTileLabel extends LinearLayout {
mFirstLineCaret.setImageDrawable(d);
if (d != null) {
final int h = d.getIntrinsicHeight();
- final LayoutParams lp = (LayoutParams) mSecondLine.getLayoutParams();
- lp.topMargin = h * 4 / 5;
- mSecondLine.setLayoutParams(lp);
mFirstLine.setMinHeight(h);
mFirstLine.setPadding(mHorizontalPaddingPx, 0, 0, 0);
}