summaryrefslogtreecommitdiff
path: root/libs/androidfw/ZipFileRO.cpp
diff options
context:
space:
mode:
author Anton Potapov <apotapov@google.com> 2023-07-12 16:58:26 +0100
committer Anton Potapov <apotapov@google.com> 2023-07-19 13:35:20 +0100
commit328168993c5d6f4412e448d4c6a4b504fd2a01fa (patch)
treef5140a9b3f9f2790b131aa802b492a004da8372c /libs/androidfw/ZipFileRO.cpp
parent1672c54654c6475d9a04f120479a3f372b386b01 (diff)
Add onRtlPropertiesChanged if layoutDirection changes during
resolveLayoutDirection ImageView passes layout direction to the drawable in two cases: 1) when the new one is set 2) in onRtlPropertiesChanged. The problem with `onRtlPropertiesChanged` is that in some cases it might not be called (ex. when the view is detached from window). Therefore the view would get an updated state with `resolveLayoutDirection` that doesn't invoke `onRtlPropertiesChanged` though. Test: manual on phone: enable for RTL in Developer settings -> open QS Fixes: 286508181 Change-Id: Id2b62f905197b1abc7130b259a5ebcfc3ff2a2d0
Diffstat (limited to 'libs/androidfw/ZipFileRO.cpp')
0 files changed, 0 insertions, 0 deletions