commit | 4b6bceec365b9c7b5740d9160367311b359647c0 | [log] [tgz] |
---|---|---|
author | Seigo Nonaka <nona@google.com> | Mon Dec 11 11:39:51 2017 -0800 |
committer | Seigo Nonaka <nona@google.com> | Mon Dec 11 12:26:13 2017 -0800 |
tree | fbea15b1609f7fbe3d98468637f6ce5bcda57da5 | |
parent | 5399403867f071a8cdad3727bad626a8eb58d3b5 [diff] |
Fix testCursorIsOnRight test case This is partial revert of Ie932903845645e50cfa0cb428babb31a44babc47 The root cause is MeasuredText.getParagraphDir respect requsted text direction even if it is an empty text. Ideally we don't need to create MeasuredText object for empty string but for safety, reverted to the original code. Bug: 70384435 Test: bit FrameworksCoreTests:android.widget.EditorCursorTest Change-Id: Id24405f476c50fa27743589a640281d96de1c9ce