Skip to content

Commit 5474902

Browse files
Dianne HackbornAndroid (Google) Code Review
authored andcommitted
Merge "xhdpi" into froyo
2 parents f9610b3 + 588feee commit 5474902

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tools/aapt/AaptAssets.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -888,6 +888,11 @@ bool AaptGroupEntry::getDensityName(const char* name,
888888
return true;
889889
}
890890

891+
if (strcmp(name, "xhdpi") == 0) {
892+
if (out) out->density = ResTable_config::DENSITY_MEDIUM*2;
893+
return true;
894+
}
895+
891896
char* c = (char*)name;
892897
while (*c >= '0' && *c <= '9') {
893898
c++;

0 commit comments

Comments
 (0)