]> git.saurik.com Git - android/aapt.git/blobdiff - AaptAssets.cpp
Merge "Support changing style parent in overlays"
[android/aapt.git] / AaptAssets.cpp
index fc655a7abbb7e966d537fe1c56e9fe10d7146943..efc961998e6b9c902da1694fe7d7cd906be5cd0f 100644 (file)
@@ -888,6 +888,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++;