commit | 10644106b819acad4f88c3882d5688638951728c | [log] [tgz] |
---|---|---|
author | Gilles Debunne <debunne@google.com> | Mon Nov 01 11:29:24 2010 -0700 |
committer | Gilles Debunne <debunne@google.com> | Thu Nov 04 10:53:04 2010 -0700 |
tree | 6239cdb4963136f4c39b5615079f3db505f54447 | |
parent | 53e59add93078bc814571ff6108f661032255881 [diff] |
Rationalized the single/multiple line initialization in TextViews. The TYPE_TEXT_FLAG_MULTI_LINE was set directly, instead of calling setSingleLine, which has some side effects, like correctly updating the mSingleLine field. Generalized the use of setSingleLine everywhere. This may change some behavior, but is probably fixing more state inconsistencies. Change-Id: I6b4da2e140a8dc75481cff9e44473daa6b3a83c4