summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2022-10-11 15:12:51 +0800
committer Riddle Hsu <riddlehsu@google.com> 2022-10-11 15:12:51 +0800
commit39ef5efaa555138cdd428f9e91084f2c362af706 (patch)
tree804429034c14dbfd6528db2243e1fb71474d5851 /libs/androidfw/StringPool.cpp
parenta5285231c8629dfa3e7b56d6b86361d104c5d184 (diff)
Update layout direction if ViewRoot is preserved
Otherwise if the language of the configuration is changed between RTL and LTR, the layout direction may still keep the previous direction after calling recreate(). Bug: 250868428 Test: The layout direction will change with below sample: Configuration config = getResources().getConfiguration(); configconfiguration.setLocales(LocaleList.forLanguageTags("ar")); getResources().updateConfiguration(configuconfigration, null); recreate(); Change-Id: Iad405bf02b2f19cb3aa8cbc21f9bca67d8a53c30
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions