From b96cbbd11c4590bec846212c33361e02293f18b5 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 --- api/current.xml | 11 +++++++++++ core/java/android/util/DisplayMetrics.java | 9 +++++++++ include/utils/ResourceTypes.h | 1 + native/include/android/configuration.h | 1 + tools/aapt/AaptAssets.cpp | 5 +++++ 5 files changed, 27 insertions(+) diff --git a/api/current.xml b/api/current.xml index efcde72d173d4..7670bc935193f 100644 --- a/api/current.xml +++ b/api/current.xml @@ -206019,6 +206019,17 @@ visibility="public" > + + density = ResTable_config::DENSITY_TV; + return true; + } + if (strcmp(name, "hdpi") == 0) { if (out) out->density = ResTable_config::DENSITY_HIGH; return true;