am 6fdf6b22: Merge "Fixing Intrinsic dimensions of FastBitmapDrawable" into ub-now-porkchop
* commit '6fdf6b22a75cbbd1728aca9e5305b4f68ef99c18': Fixing Intrinsic dimensions of FastBitmapDrawable
This commit is contained in:
commit
e962acef86
1 file changed
+2
-2
@@ -113,12 +113,12 @@ class FastBitmapDrawable extends Drawable {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int getIntrinsicWidth() {
|
public int getIntrinsicWidth() {
|
||||||
return getBounds().width();
|
return mBitmap.getWidth();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int getIntrinsicHeight() {
|
public int getIntrinsicHeight() {
|
||||||
return getBounds().height();
|
return mBitmap.getHeight();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in new issue
Block a user