commit | b96cbbd11c4590bec846212c33361e02293f18b5 | [log] [tgz] |
---|---|---|
author | Dianne Hackborn <hackbod@google.com> | Fri May 27 13:40:26 2011 -0700 |
committer | Dianne Hackborn <hackbod@google.com> | Fri May 27 13:40:26 2011 -0700 |
tree | ac02f12136339bb608c07d8b26eaae1cddccf792 | |
parent | ff7622992f39d8e401ab23c5ce6a84f318906e52 [diff] [blame] |
Add "tv" density for 720p screens. Change-Id: I028969b007f2fceea66947d77a2ae31ef1d1a630
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 @@ 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;