am d706e0a8: Merge "Getting rid of additive blending for overscroll (issue 11072246)" into jb-ub-now-indigo-rose
* commit 'd706e0a8133a3a570013b7512c593845850a0f1f': Getting rid of additive blending for overscroll (issue 11072246)
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