am 6e0ff0c3: am 826d17c0: A little more on #2256270: Package manager sends bad broadcasts when components change
Merge commit '6e0ff0c37cd293d49c3c874ee30a49b1d5902b5e' into eclair-mr2-plus-aosp * commit '6e0ff0c37cd293d49c3c874ee30a49b1d5902b5e': A little more on #2256270: Package manager sends bad broadcasts when components change
This commit is contained in:
@@ -12817,6 +12817,11 @@ public final class ActivityManagerService extends ActivityManagerNative implemen
|
||||
|
||||
mConfiguration = newConfig;
|
||||
Log.i(TAG, "Config changed: " + newConfig);
|
||||
|
||||
AttributeCache ac = AttributeCache.instance();
|
||||
if (ac != null) {
|
||||
ac.updateConfiguration(mConfiguration);
|
||||
}
|
||||
|
||||
Message msg = mHandler.obtainMessage(UPDATE_CONFIGURATION_MSG);
|
||||
msg.obj = new Configuration(mConfiguration);
|
||||
@@ -12844,11 +12849,6 @@ public final class ActivityManagerService extends ActivityManagerNative implemen
|
||||
null, null, 0, null, null,
|
||||
null, false, false, MY_PID, Process.SYSTEM_UID);
|
||||
}
|
||||
|
||||
AttributeCache ac = AttributeCache.instance();
|
||||
if (ac != null) {
|
||||
ac.updateConfiguration(mConfiguration);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user