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

Commit a5645464 authored by Aga Madurska's avatar Aga Madurska
Browse files

Avoid an NPE while checking view location on screen.

Bug:30483148

Change-Id: I115da4fefff5fecc04135e2b150e1e77445cb86e
parent d4d3503d
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -23859,7 +23859,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
     * on the screen.
     * on the screen.
     */
     */
    private boolean shouldDrawRoundScrollbar() {
    private boolean shouldDrawRoundScrollbar() {
        if (!mResources.getConfiguration().isScreenRound()) {
        if (!mResources.getConfiguration().isScreenRound() || mAttachInfo == null) {
            return false;
            return false;
        }
        }