From: Dianne Hackborn Date: Sun, 6 Jun 2010 19:13:59 +0000 (-0700) Subject: am fc15bd94: am 168585ed: am 5474902f: Merge "xhdpi" into froyo X-Git-Url: https://git.saurik.com/android/aapt.git/commitdiff_plain/c9e3dd510e2efe011ddb00723d7ac694bd3eeaa3?hp=561c0a66a62797b59611bec21d971987e61977ef am fc15bd94: am 168585ed: am 5474902f: Merge "xhdpi" into froyo --- diff --git a/AaptAssets.cpp b/AaptAssets.cpp index 4d2d046..d6cfb12 100644 --- a/AaptAssets.cpp +++ b/AaptAssets.cpp @@ -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++;