summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorNarayan Kamath <narayan@google.com>2015-03-23 17:13:18 +0000
committerNarayan Kamath <narayan@google.com>2015-04-03 13:24:21 +0100
commit70392818f07f175d4914cef13b12c215ff08f1df (patch)
tree3d2089551523d4a0aea586bc22b5299d55304982 /tools/aapt2/java/JavaClassGenerator.cpp
parent492e501f9a42a0d715e9460f4157dba204322fd7 (diff)
Don't set userSetLocale from Configuration.setLocale.
This seems to have been a mistake : userSetLocale controls whether a locale is persisted and as written it's too easy to make system wide locale changes without intending to. Third party apps do not have sufficient permissions to set global locales anyway, so they won't care whether it's set or not. Also, set userSetLocale = true in the LocalePicker.updateLocale internal API, which is what all platform apps use to set the locale. In addition, this commit fixes a bug where we were not setting RTL directionality for the default locale loaded by the activity manager service. Change-Id: I2e11ad31e012dfa314ab8d78034f986b49ecae60
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions