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
Loading
Please register or sign in to comment