am 168585ed: am 5474902f: Merge "xhdpi" into froyo

This commit is contained in:
Dianne Hackborn
2010-06-06 12:11:50 -07:00
committed by Android Git Automerger

View File

@@ -893,6 +893,11 @@ bool AaptGroupEntry::getDensityName(const char* name,
return true;
}
if (strcmp(name, "xhdpi") == 0) {
if (out) out->density = ResTable_config::DENSITY_MEDIUM*2;
return true;
}
char* c = (char*)name;
while (*c >= '0' && *c <= '9') {
c++;