summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorRoozbeh Pournader <roozbeh@google.com>2017-08-08 15:49:01 -0700
committerRoozbeh Pournader <roozbeh@google.com>2017-08-08 16:21:46 -0700
commitb1f0365dc4283fda926d5ff9f35c042220022ff6 (patch)
treeacc9031e893814f99ec16a594d2afefbd77439cc /tools/aapt2/java/JavaClassGenerator.cpp
parenta7d731d5fecbac339a37ad963253b651b1ba7046 (diff)
Make sure Layout doesn't modify the paint
Previously, Layout would modify the HyphenEdit of the Paint passed to it for its internal operations, potentially leaving the Paint in a different status than when it was created. Now we use an internal copy of the Paint to modify. Fixes: 64452136 Test: bit CtsTextTestCases:android.text.cts. Test: bit FrameworksCoreTests:android.text. Change-Id: I0b95a10c05711350950d6c8d6501f6af9414d413
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions