Merge "Adding null check to outline generator" into ub-launcher3-burnaby

This commit is contained in:
Sunny Goyal authored and Android (Google) Code Review committed 2015-05-20 04:15:04 +00:00
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());