add support for TYPE_NULL

This commit is contained in:
Connor Tumbleson 2015-03-12 17:43:17 -05:00
parent bbc6023068
commit 2db8828efb

View File

@ -34,6 +34,8 @@ public class ResValueFactory {
public ResScalarValue factory(int type, int value, String rawValue)
throws AndrolibException {
switch (type) {
case TypedValue.TYPE_NULL:
return new ResReferenceValue(mPackage, 0, null);
case TypedValue.TYPE_REFERENCE:
return newReference(value, rawValue);
case TypedValue.TYPE_ATTRIBUTE: