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:
Android (Google) Code Review
2009-06-25 12:16:48 -07:00
committed by The Android Open Source Project

View File

@@ -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) {