Add appropriate (tiny) offset to widget drops so they land correctly.
Also removed some unused parameters I found on the way. Bug: 25191623 Change-Id: Ib9a30db106467c114cc8b54a5b13ed3e88162d56
This commit is contained in:
1 parent
aa4011e63e
commit
a501d49a6a
6 files changed
+27
-29
No files matched your search
@@ -163,8 +163,7 @@ public class ShortcutAndWidgetContainer extends ViewGroup {
|
||||
lp.height = getMeasuredHeight();
|
||||
}
|
||||
int childWidthMeasureSpec = MeasureSpec.makeMeasureSpec(lp.width, MeasureSpec.EXACTLY);
|
||||
int childheightMeasureSpec = MeasureSpec.makeMeasureSpec(lp.height,
|
||||
MeasureSpec.EXACTLY);
|
||||
int childheightMeasureSpec = MeasureSpec.makeMeasureSpec(lp.height, MeasureSpec.EXACTLY);
|
||||
child.measure(childWidthMeasureSpec, childheightMeasureSpec);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user