summaryrefslogtreecommitdiff
path: root/libs/androidfw/ZipFileRO.cpp
diff options
context:
space:
mode:
author Jiaming Liu <jiamingliu@google.com> 2024-06-06 20:18:40 +0000
committer Jiaming Liu <jiamingliu@google.com> 2024-06-06 20:53:51 +0000
commit852402d1b1eba85e56772d35019f6fd51302ad76 (patch)
tree4496f6223b909d6974a49ad65fc081f046bb5057 /libs/androidfw/ZipFileRO.cpp
parent3368734bf4e7d91c23bd1012f0634495bbe54950 (diff)
[Divider] Fix divider for RTL Locale
When having a language with RTL layout direction, the view coordinate is flipped in the x direction (x=0 on right edge, not left edge). This caused miscomputation of the divider line position inside the view host, because we already considered the locale in split layout direction and it would be double counted if it is flipped again in the view. This change ensures that the divider layout is always LTR regardless of the locale to fix the divider line position. Bug: 343316177 Test: atest DividerPresenterTest Change-Id: I33d8b0bf3a133c9e6373c7322e8319764605400f
Diffstat (limited to 'libs/androidfw/ZipFileRO.cpp')
0 files changed, 0 insertions, 0 deletions