Skip to content

Commit 588feee

Browse files
author
Dianne Hackborn
committed
xhdpi
This is only a tool (aapt) change, and does not impact any current code. Change-Id: I562063f612af919eaadba8ac4868a95ff41ac840
1 parent 2e3761b commit 588feee

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)