commit | 1149cdc84b77d0cbe3c44a7ec6abd29fc63913b5 | [log] [tgz] |
---|---|---|
author | Raph Levien <raph@google.com> | Wed Jun 24 09:36:31 2015 -0700 |
committer | Raph Levien <raph@google.com> | Wed Jun 24 14:05:52 2015 -0700 |
tree | e7d3f71601610051dddb01c9b42964f1b1816eec | |
parent | 838a29a659c2b7ee244140ea4042d90d48181145 [diff] |
Make measureText(String, int, int) not use context The measureText method when applied to a string should just measure the substring, rather than treat the entire string as context. It was less likely to cause problems than the similar issues with char arrays, but still wrong. This patch makes the behavior consistent. Bug: 20087437 Change-Id: I1c6e07a694b151f4fb097edae8e271805e996d06