diff options
author | Siyamed Sinir <siyamed@google.com> | 2016-05-18 19:57:52 -0700 |
---|---|---|
committer | Siyamed Sinir <siyamed@google.com> | 2016-06-28 14:01:18 -0700 |
commit | 79bf9d19f2f76cbfbd6659c9323e519deaa887c7 (patch) | |
tree | edc577b0f584c70c387ff69a93b2dfc7a2f6375a /tools/aapt2/diff/Diff.cpp | |
parent | c5e73868a1174b63cbba2f17491e3b11833e9cc6 (diff) |
Fix bidi desired width calculation
Layout.getDesiredWidth measured text with TextDirectionHeuristics.LTR,
whereas the real calculations used the active direction heuristic set
in the TextView instance. This CL uses the same heuristics for both of
them by passing the value to Layout.getDesiredWidth function.
Bug: 28845953
Change-Id: I68d23f55fe5a86255d62e83bc62df38a047e4bca
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions