From 465c2ef57a5e150530681ac38f759c4850686952 Mon Sep 17 00:00:00 2001 From: Dianne Hackborn Date: Fri, 27 May 2011 13:40:26 -0700 Subject: [PATCH] Add "tv" density for 720p screens. Change-Id: I028969b007f2fceea66947d77a2ae31ef1d1a630 --- AaptAssets.cpp | 5 +++++ 1 file changed, 5 insertions(+) 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; -- 2.47.2