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

Commit bc490ca2 authored by Alan Viverette's avatar Alan Viverette Committed by android-build-merger
Browse files

Don\'t verify the scrollbar drawable am: a53c3b21 am: ca6b87fe

am: c8ef3f87

* commit 'c8ef3f87':
  Don't verify the scrollbar drawable
parents aa17797f c8ef3f87
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -17259,8 +17259,10 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
     */
    @CallSuper
    protected boolean verifyDrawable(Drawable who) {
        return who == mBackground || (mScrollCache != null && mScrollCache.scrollBar == who)
                || (mForegroundInfo != null && mForegroundInfo.mDrawable == who);
        // Avoid verifying the scroll bar drawable so that we don't end up in
        // an invalidation loop. This effectively prevents the scroll bar
        // drawable from triggering invalidations and scheduling runnables.
        return who == mBackground || (mForegroundInfo != null && mForegroundInfo.mDrawable == who);
    }
    /**