diff options
author | Raph Levien <raph@google.com> | 2015-06-24 09:36:31 -0700 |
---|---|---|
committer | Raph Levien <raph@google.com> | 2015-06-24 14:05:52 -0700 |
commit | 1149cdc84b77d0cbe3c44a7ec6abd29fc63913b5 (patch) | |
tree | e7d3f71601610051dddb01c9b42964f1b1816eec /packages | |
parent | 838a29a659c2b7ee244140ea4042d90d48181145 (diff) | |
download | frameworks_base-1149cdc84b77d0cbe3c44a7ec6abd29fc63913b5.zip frameworks_base-1149cdc84b77d0cbe3c44a7ec6abd29fc63913b5.tar.gz frameworks_base-1149cdc84b77d0cbe3c44a7ec6abd29fc63913b5.tar.bz2 |
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
Diffstat (limited to 'packages')
0 files changed, 0 insertions, 0 deletions