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

Commit 143b46d5 authored by Alan Viverette's avatar Alan Viverette
Browse files

Check for null display list

BUG: 12764584
Change-Id: I071aa0d9bc4f4ac353a5d0f534cf7c44964d4bf0
parent 9f244efb
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -14941,7 +14941,10 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
        if (mBackgroundSizeChanged) {
            // We should see the background invalidate itself, but just to be
            // careful we're going to clear the display list and force redraw.
            if (mBackgroundDisplayList != null) {
                mBackgroundDisplayList.clear();
            }
            background.setBounds(0, 0,  mRight - mLeft, mBottom - mTop);
            mBackgroundSizeChanged = false;
        }