Merge "Fix rendering issue with paths when the stroke width is 0"
This commit is contained in:
@@ -11705,7 +11705,7 @@ public class View implements Drawable.Callback2, KeyEvent.Callback, Accessibilit
|
||||
|
||||
/**
|
||||
* Utility to return a default size. Uses the supplied size if the
|
||||
* MeasureSpec imposed no contraints. Will get larger if allowed
|
||||
* MeasureSpec imposed no constraints. Will get larger if allowed
|
||||
* by the MeasureSpec.
|
||||
*
|
||||
* @param size Default size for this view
|
||||
@@ -11715,7 +11715,7 @@ public class View implements Drawable.Callback2, KeyEvent.Callback, Accessibilit
|
||||
public static int getDefaultSize(int size, int measureSpec) {
|
||||
int result = size;
|
||||
int specMode = MeasureSpec.getMode(measureSpec);
|
||||
int specSize = MeasureSpec.getSize(measureSpec);
|
||||
int specSize = MeasureSpec.getSize(measureSpec);
|
||||
|
||||
switch (specMode) {
|
||||
case MeasureSpec.UNSPECIFIED:
|
||||
|
||||
Reference in New Issue
Block a user