OSDN Git Service
(root)
/
android-x86
/
frameworks-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aee7225
)
AAPT: Use the right enum when checking for density configurations
author
Adam Lesinski
<adamlesinski@google.com>
Fri, 23 Jan 2015 02:19:44 +0000
(18:19 -0800)
committer
Adam Lesinski
<adamlesinski@google.com>
Fri, 23 Jan 2015 02:19:44 +0000
(18:19 -0800)
Bug:
19116675
Change-Id: I2322d8d6bdf890005c80014273e5d07df735ed50
tools/aapt/AaptConfig.cpp
patch
|
blob
|
history
diff --git
a/tools/aapt/AaptConfig.cpp
b/tools/aapt/AaptConfig.cpp
index
e88c27a
..
ede9e99
100644
(file)
--- 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;
}