Merge "Fix for a Resource system bug that displayed the wrong name for missing asset." into gingerbread
This commit is contained in:
committed by
Android (Google) Code Review
commit
189de28209
@@ -708,9 +708,7 @@ public class TypedArray {
|
|||||||
outValue.resourceId = data[index+AssetManager.STYLE_RESOURCE_ID];
|
outValue.resourceId = data[index+AssetManager.STYLE_RESOURCE_ID];
|
||||||
outValue.changingConfigurations = data[index+AssetManager.STYLE_CHANGING_CONFIGURATIONS];
|
outValue.changingConfigurations = data[index+AssetManager.STYLE_CHANGING_CONFIGURATIONS];
|
||||||
outValue.density = data[index+AssetManager.STYLE_DENSITY];
|
outValue.density = data[index+AssetManager.STYLE_DENSITY];
|
||||||
if (type == TypedValue.TYPE_STRING) {
|
outValue.string = (type == TypedValue.TYPE_STRING) ? loadStringValueAt(index) : null;
|
||||||
outValue.string = loadStringValueAt(index);
|
|
||||||
}
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user