Fixed an error, when there are missing resources in type, which does not have default config.

This commit is contained in:
Ryszard Wiśniewski 2010-09-01 19:23:13 +02:00
parent 6a75830a4f
commit 6576748f6b

View File

@ -302,7 +302,7 @@ public class ARSCDecoder {
ResValue value = new ResBoolValue(false);
ResResource res = new ResResource(
mPkg.getConfig(new ResConfigFlags()), spec, value);
mPkg.getOrCreateConfig(new ResConfigFlags()), spec, value);
mPkg.addResource(res);
mConfig.addResource(res);
spec.addResource(res);