ResReferenceValue: omitting type in theme references only if it equals to "attr"

This commit is contained in:
Ryszard Wiśniewski 2010-04-28 21:12:33 +02:00
parent e520d13d6b
commit add6fbc24d

View File

@ -52,7 +52,8 @@ public class ResReferenceValue extends ResIntValue {
return
(mTheme ? '?' : '@') +
(newId ? "+" : "") +
spec.getFullName(mPackage, mTheme);
spec.getFullName(mPackage,
mTheme && spec.getType().getName().equals("attr"));
}
public ResResSpec getReferent() throws AndrolibException {