Merge change I95319bde into eclair
* changes: Fixes #2175599. Prevents an NPE when AttachInfo is null.
This commit is contained in:
@ -6189,7 +6189,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback, Accessibility
|
||||
|
||||
final int drawingCacheBackgroundColor = mDrawingCacheBackgroundColor;
|
||||
final boolean opaque = drawingCacheBackgroundColor != 0 || isOpaque();
|
||||
final boolean translucentWindow = attachInfo.mTranslucentWindow;
|
||||
final boolean translucentWindow = attachInfo != null && attachInfo.mTranslucentWindow;
|
||||
|
||||
if (width <= 0 || height <= 0 ||
|
||||
// Projected bitmap size in bytes
|
||||
|
Reference in New Issue
Block a user