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

Commit e27c677f 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

am: a78e8d62

Change-Id: I70f2333d6f09d7d608a5c201ac3d5be7780bda9e
parents ce648b77 a78e8d62
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -23867,7 +23867,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;
        }