AAPT: Use the right enum when checking for density configurations

Bug:19116675
Change-Id: I2322d8d6bdf890005c80014273e5d07df735ed50
This commit is contained in:
Adam Lesinski
2015-01-22 18:19:44 -08:00
parent aee7225e34
commit ed643e8182

View File

@@ -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;
}