]> git.saurik.com Git - android/aapt.git/commitdiff
am fc15bd94: am 168585ed: am 5474902f: Merge "xhdpi" into froyo
authorDianne Hackborn <hackbod@google.com>
Sun, 6 Jun 2010 19:13:59 +0000 (12:13 -0700)
committerAndroid Git Automerger <android-git-automerger@android.com>
Sun, 6 Jun 2010 19:13:59 +0000 (12:13 -0700)
AaptAssets.cpp

index 4d2d046bd921eb5198841179968bbc2c6f1e2aed..d6cfb12d0b973d053076a29e3f7c6f2f3e13a4e7 100644 (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++;