Merge "Fix issue with fontScale changes not taking effect" into oc-dev

This commit is contained in:
TreeHugger Robot
2017-04-19 17:32:25 +00:00
committed by Android (Google) Code Review

View File

@@ -56,12 +56,13 @@ public class TypedArray {
// Reset the assets, which may have changed due to configuration changes
// or further resource loading.
attrs.mAssets = res.getAssets();
attrs.mMetrics = res.getDisplayMetrics();
attrs.resize(len);
return attrs;
}
private final Resources mResources;
private final DisplayMetrics mMetrics;
private DisplayMetrics mMetrics;
private AssetManager mAssets;
private boolean mRecycled;