commit | b1f0365dc4283fda926d5ff9f35c042220022ff6 | [log] [tgz] |
---|---|---|
author | Roozbeh Pournader <roozbeh@google.com> | Tue Aug 08 15:49:01 2017 -0700 |
committer | Roozbeh Pournader <roozbeh@google.com> | Tue Aug 08 16:21:46 2017 -0700 |
tree | acc9031e893814f99ec16a594d2afefbd77439cc | |
parent | a7d731d5fecbac339a37ad963253b651b1ba7046 [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