diff options
| author | Roozbeh Pournader <roozbeh@google.com> | 2016-06-09 18:36:47 -0700 |
|---|---|---|
| committer | Roozbeh Pournader <roozbeh@google.com> | 2016-06-09 18:46:31 -0700 |
| commit | 8823c85f0a98988a21bddedf1e1c3fb725258ba1 (patch) | |
| tree | a4098bf7fadca9890dd90305e5cc598b06134439 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
| parent | ce9b1fa9e2c808907d5a2fea37527a805334731b (diff) | |
Clean up TextUtils.doesNotNeedBidi()
One of the signatures of the method that used CharSequence was
unused. The other's implementation was too crude, resulting in too
many false negatives.
The new code now shares logic with BoringLayout in order to detect
potential bidi-affecting characters. The logic is intentionally
rough in order to be efficient: we still have false negatives, but
not as many as before.
Bug: 29254696
Change-Id: I106133369e93e49d7b2fe82ffc433e4556740ee8
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions
