Kaydet (Commit) af7bd0c9 authored tarafından Miklos Vajna's avatar Miklos Vajna

android: WaE: variable never read

Change-Id: I35f465a085081563214d4e5c9e7fb8a7ac0ef6f7
üst 3e0e88f6
...@@ -199,8 +199,7 @@ public class IcsLinearLayout extends NineLinearLayout { ...@@ -199,8 +199,7 @@ public class IcsLinearLayout extends NineLinearLayout {
if (child == null) { if (child == null) {
bottom = getHeight() - getPaddingBottom() - mDividerHeight; bottom = getHeight() - getPaddingBottom() - mDividerHeight;
} else { } else {
final LayoutParams lp = (LayoutParams) child.getLayoutParams(); bottom = child.getBottom();
bottom = child.getBottom()/* + lp.bottomMargin*/;
} }
drawHorizontalDivider(canvas, bottom); drawHorizontalDivider(canvas, bottom);
} }
...@@ -226,8 +225,7 @@ public class IcsLinearLayout extends NineLinearLayout { ...@@ -226,8 +225,7 @@ public class IcsLinearLayout extends NineLinearLayout {
if (child == null) { if (child == null) {
right = getWidth() - getPaddingRight() - mDividerWidth; right = getWidth() - getPaddingRight() - mDividerWidth;
} else { } else {
final LayoutParams lp = (LayoutParams) child.getLayoutParams(); right = child.getRight();
right = child.getRight()/* + lp.rightMargin*/;
} }
drawVerticalDivider(canvas, right); drawVerticalDivider(canvas, right);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment