Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 588feee5 authored by Dianne Hackborn's avatar Dianne Hackborn
Browse files

xhdpi

This is only a tool (aapt) change, and does not impact any current code.

Change-Id: I562063f612af919eaadba8ac4868a95ff41ac840
parent 2e3761ba
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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++;