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

Commit a78e8d62 authored by Aga Madurska's avatar Aga Madurska Committed by android-build-merger
Browse files

Avoid an NPE while checking view location on screen.

am: a5645464

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