Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 94ee9260 authored by Romain Guy's avatar Romain Guy Committed by Android Git Automerger
Browse files

am 3b36ed09: Merge change I95319bde into eclair

Merge commit '3b36ed09' into eclair-mr2

* commit '3b36ed09':
  Fixes #2175599. Prevents an NPE when AttachInfo is null.
parents bd3d5b25 3b36ed09
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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