Merge "Adding null check to outline generator" into ub-launcher3-burnaby
This commit is contained in:
commit
a938867bc8
1 file changed
+3
@@ -157,6 +157,9 @@ public class HolographicOutlineHelper {
|
||||
|
||||
Bitmap createMediumDropShadow(BubbleTextView view) {
|
||||
Drawable icon = view.getIcon();
|
||||
if (icon == null) {
|
||||
return null;
|
||||
}
|
||||
Rect rect = icon.getBounds();
|
||||
|
||||
int bitmapWidth = (int) (rect.width() * view.getScaleX());
|
||||
|
||||
Reference in new issue
Block a user