summaryrefslogtreecommitdiffstats
path: root/tools/aapt
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2011-05-27 14:27:46 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2011-05-27 14:27:46 -0700
commit54cb63e26e41b80c013b8665878b9c7c7fb328c1 (patch)
treea3c15960d5aef66a6df3370cb5ad0b12a9fa1dee /tools/aapt
parentda9837fb61c8aa53c67921682016d97655332089 (diff)
parent528c49f112dce5f9687f30a9751e783196eca0c6 (diff)
downloadframeworks_base-54cb63e26e41b80c013b8665878b9c7c7fb328c1.zip
frameworks_base-54cb63e26e41b80c013b8665878b9c7c7fb328c1.tar.gz
frameworks_base-54cb63e26e41b80c013b8665878b9c7c7fb328c1.tar.bz2
am 528c49f1: am b96cbbd1: Add "tv" density for 720p screens.
* commit '528c49f112dce5f9687f30a9751e783196eca0c6': Add "tv" density for 720p screens.
Diffstat (limited to 'tools/aapt')
-rw-r--r--tools/aapt/AaptAssets.cpp5
1 files changed, 5 insertions, 0 deletions
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;