//noinspection VariableNotUsedInsideIf
if (mValue == null) {
// Density based resource value?
Density density = mType == ResourceType.DRAWABLE ? getFolderDensity() : null;
if (density != null) {
mResourceValue = new DensityBasedResourceValue(mType, getName(),
getSource().getFile().getAbsolutePath(), density, isFrameworks);
} else {
mResourceValue = new ResourceValue(mType, getName(),
getSource().getFile().getAbsolutePath(), isFrameworks);
}