Merge change 8740 into donut
* changes: Fix issue #1991230: DisplayMetrics.displayHeight is not updated with orientation change
This commit is contained in:
@@ -3634,7 +3634,7 @@ public final class ActivityThread {
|
||||
Locale.setDefault(config.locale);
|
||||
}
|
||||
|
||||
Resources.updateSystemConfiguration(config, null);
|
||||
Resources.updateSystemConfiguration(config, dm);
|
||||
|
||||
ApplicationContext.ApplicationPackageManager.configurationChanged();
|
||||
//Log.i(TAG, "Configuration changed in " + currentPackageName());
|
||||
|
||||
Reference in New Issue
Block a user