summaryrefslogtreecommitdiff
path: root/libs/androidfw/ObbFile.cpp
diff options
context:
space:
mode:
author Chris Antol <cantol@google.com> 2023-04-10 18:08:37 +0000
committer Chris Antol <cantol@google.com> 2023-04-12 00:13:01 +0000
commitd9bc801301acdf24fda7ff043da35f70631948b1 (patch)
treed57794cbace45dc65705bc1084d1e7b606247305 /libs/androidfw/ObbFile.cpp
parentf0e71f6289206046b07916e22a40830fb384eec5 (diff)
Only override embedded activity locale if source package lookup yields locales to match
Calling Configuration#setLocales also sets the text direction for the containing Activity. If we pass an empty LocaleList to this method, then we lose the intended text direction for its locale. So this change will only override the target (embedded) Activity's locales if our package lookup for the host yields a populated LocaleList to provide. Bug: 277363604 Test: Verified on Pixel devices in Settings app Change-Id: I8bcdab0737c18f861f74a8f9bd2d15043359e27b
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions