From b96cbbd11c4590bec846212c33361e02293f18b5 Mon Sep 17 00:00:00 2001 From: Dianne Hackborn Date: Fri, 27 May 2011 13:40:26 -0700 Subject: Add "tv" density for 720p screens. Change-Id: I028969b007f2fceea66947d77a2ae31ef1d1a630 --- tools/aapt/AaptAssets.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tools/aapt') diff --git a/tools/aapt/AaptAssets.cpp b/tools/aapt/AaptAssets.cpp index 4894196..29d2b87 100644 --- a/tools/aapt/AaptAssets.cpp +++ b/tools/aapt/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; -- cgit v1.1