am a7251991: Merge change 5288 into donut
Merge commit 'a7251991ffb6a26e4cf23e60633c8250c78bd9df' * commit 'a7251991ffb6a26e4cf23e60633c8250c78bd9df': Invoke getSystem.updateConfiguration when binding an application to
This commit is contained in:
committed by
The Android Open Source Project
commit
9c71fc972e
@@ -3697,6 +3697,13 @@ public final class ActivityThread {
|
||||
*/
|
||||
Locale.setDefault(data.config.locale);
|
||||
|
||||
/*
|
||||
* Update the system configuration since its preloaded and might not
|
||||
* reflect configuration changes. The configuration object passed
|
||||
* in AppBindData can be safely assumed to be up to date
|
||||
*/
|
||||
Resources.getSystem().updateConfiguration(mConfiguration, null);
|
||||
|
||||
data.info = getPackageInfoNoCheck(data.appInfo);
|
||||
|
||||
if (data.debugMode != IApplicationThread.DEBUG_OFF) {
|
||||
|
||||
Reference in New Issue
Block a user