From: Dianne Hackborn Date: Fri, 27 May 2011 20:40:26 +0000 (-0700) Subject: Add "tv" density for 720p screens. X-Git-Url: https://git.saurik.com/android/aapt.git/commitdiff_plain/465c2ef57a5e150530681ac38f759c4850686952 Add "tv" density for 720p screens. Change-Id: I028969b007f2fceea66947d77a2ae31ef1d1a630 --- diff --git a/AaptAssets.cpp b/AaptAssets.cpp index 4894196..29d2b87 100644 --- a/AaptAssets.cpp +++ b/AaptAssets.cpp @@ -969,6 +969,11 @@ bool AaptGroupEntry::getDensityName(const char* name, return true; } + if (strcmp(name, "tvdpi") == 0) { + if (out) out->density = ResTable_config::DENSITY_TV; + return true; + } + if (strcmp(name, "hdpi") == 0) { if (out) out->density = ResTable_config::DENSITY_HIGH; return true;