summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/3
diff options
context:
space:
mode:
authorRaph Levien <raph@google.com>2012-10-03 15:26:47 -0700
committerRaph Levien <raph@google.com>2012-10-03 15:26:47 -0700
commite174ae210e4756985c17da5bf4457e2009ec5b61 (patch)
tree6a50399943f4de2eed813d61215e92b1237b169c /docs/html/sdk/api_diff/3
parent4b576e39f0ae8fb595843a6e442e39ca90dad51a (diff)
Fix for testPaintFlagsDrawFilter CTS test
This fixes bug 6948776 android.graphics.cts.PaintFlagsDrawFilterTest#testPaintFlagsDrawFilter failures on JO When we moved the drawing of text decorations (underline, strikethrough) from Skia to our own drawing (so we could take into account the metrics computed by TextLayoutEngine), we just used the raw flags from the paint, which ignored the overrides that a DrawFilter can effect. The patch simply checks for the existence of a DrawFilter in the canvas, and applies it to a copy of the paint where present. This will be one extra paint copy where the filter exists, but that's expected to be rare (other than running this CTS test, of course). Change-Id: I664c478b73a3a1cc43599ee11bbc02c69b7a96c2
Diffstat (limited to 'docs/html/sdk/api_diff/3')
0 files changed, 0 insertions, 0 deletions