diff options
author | dongwan0605.kim <dongwan0605.kim@lge.com> | 2016-09-16 16:26:57 +0900 |
---|---|---|
committer | Selim Cinek <cinek@google.com> | 2016-09-23 13:07:22 -0700 |
commit | dd8611fc5a374220b3c2b07814dd072d3fe73cca (patch) | |
tree | 129648b0b6e71409b042f7e9ec712e25634a78bf /tools/aapt2/diff/Diff.cpp | |
parent | ae9fa16bd01c07a159a4bd17c16b97d3d94a534e (diff) |
Fix RTL issue of ImageFloatingTextView
Sometimes, makeSingleLayout() can be invoked before layout direction is resolved.
When not resolved, it indents in LTR layout although it should be RTL.
So, to guarantee the exact indenting, we should re-build the text layout
when the layout direction is changed.
Test: manual - Test BigTextStyle notifications with LargeIcon under RTL configurations.
Fixes: 31633875
Change-Id: Idc6c5d7d41632cb9e1b70d9c67c13852e3f25023
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions