summaryrefslogtreecommitdiffstats
path: root/tools/aapt
diff options
context:
space:
mode:
authorAdam Lesinski <adamlesinski@google.com>2015-01-22 18:19:44 -0800
committerAdam Lesinski <adamlesinski@google.com>2015-01-22 18:19:44 -0800
commited643e81827797bd22069bf4283348d49fded891 (patch)
tree895fa4cb89e68f0a4a5e6a9c992651de4be297df /tools/aapt
parentaee7225e34376a90e8c25e5df53604085cc1b712 (diff)
downloadframeworks_base-ed643e81827797bd22069bf4283348d49fded891.zip
frameworks_base-ed643e81827797bd22069bf4283348d49fded891.tar.gz
frameworks_base-ed643e81827797bd22069bf4283348d49fded891.tar.bz2
AAPT: Use the right enum when checking for density configurations
Bug:19116675 Change-Id: I2322d8d6bdf890005c80014273e5d07df735ed50
Diffstat (limited to 'tools/aapt')
-rw-r--r--tools/aapt/AaptConfig.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/aapt/AaptConfig.cpp b/tools/aapt/AaptConfig.cpp
index e88c27a..ede9e99 100644
--- a/tools/aapt/AaptConfig.cpp
+++ b/tools/aapt/AaptConfig.cpp
@@ -796,7 +796,7 @@ bool isSameExcept(const ResTable_config& a, const ResTable_config& b, int axisMa
}
bool isDensityOnly(const ResTable_config& config) {
- if (config.density == ResTable_config::DENSITY_NONE) {
+ if (config.density == ResTable_config::DENSITY_DEFAULT) {
return false;
}