diff options
author | Seigo Nonaka <nona@google.com> | 2017-12-11 11:39:51 -0800 |
---|---|---|
committer | Seigo Nonaka <nona@google.com> | 2017-12-11 12:26:13 -0800 |
commit | 4b6bceec365b9c7b5740d9160367311b359647c0 (patch) | |
tree | fbea15b1609f7fbe3d98468637f6ce5bcda57da5 /tools/aapt2/java/JavaClassGenerator.cpp | |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions