]> git.saurik.com Git - android/aapt.git/blobdiff - AaptAssets.cpp
am fe99051c: am 0e25e4cd: am 63e43ba5: Merge "Fix for issue 9656 - custom xml attribu...
[android/aapt.git] / AaptAssets.cpp
index 7900ab7aea6d2407edd602bf0194982549c0c5f7..3d6537a9013e41725bbeb4cfe2cca31a353973dc 100644 (file)
@@ -1079,17 +1079,12 @@ bool AaptGroupEntry::getDensityName(const char* name,
         if (out) out->density = ResTable_config::DENSITY_HIGH;
         return true;
     }
-
+    
     if (strcmp(name, "xhdpi") == 0) {
-        if (out) out->density = ResTable_config::DENSITY_XHIGH;
+        if (out) out->density = ResTable_config::DENSITY_MEDIUM*2;
         return true;
     }
-
-    if (strcmp(name, "xxhdpi") == 0) {
-        if (out) out->density = ResTable_config::DENSITY_XXHIGH;
-        return true;
-    }
-
+    
     char* c = (char*)name;
     while (*c >= '0' && *c <= '9') {
         c++;