Merge "Getting rid of additive blending for overscroll (issue 11072246)" into jb-ub-now-indigo-rose
This commit is contained in:
@@ -546,10 +546,7 @@ public class CellLayout extends ViewGroup {
|
||||
super.dispatchDraw(canvas);
|
||||
if (mForegroundAlpha > 0) {
|
||||
mOverScrollForegroundDrawable.setBounds(mForegroundRect);
|
||||
Paint p = ((NinePatchDrawable) mOverScrollForegroundDrawable).getPaint();
|
||||
p.setXfermode(sAddBlendMode);
|
||||
mOverScrollForegroundDrawable.draw(canvas);
|
||||
p.setXfermode(null);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user