am 5474902f: Merge "xhdpi" into froyo

Merge commit '5474902fe9fe72c825855c4a77f99a581a9f6594' into kraken

* commit '5474902fe9fe72c825855c4a77f99a581a9f6594':
  xhdpi
This commit is contained in:
Dianne Hackborn
2010-06-06 12:10:05 -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++;