summaryrefslogtreecommitdiffstats
path: root/tools/aapt/AaptConfig.h
diff options
context:
space:
mode:
authorAdam Lesinski <adamlesinski@google.com>2014-11-03 12:03:08 -0800
committerAdam Lesinski <adamlesinski@google.com>2014-11-03 15:55:44 -0800
commitde7de47fef1dcaa26d553665d89e4d3792325c3f (patch)
tree0d9551d2f037b841f325bbbd3ba27a309e9441b3 /tools/aapt/AaptConfig.h
parentf7ffcaa7a478eaafc121e84b14dcaf2503dd5457 (diff)
downloadframeworks_base-de7de47fef1dcaa26d553665d89e4d3792325c3f.zip
frameworks_base-de7de47fef1dcaa26d553665d89e4d3792325c3f.tar.gz
frameworks_base-de7de47fef1dcaa26d553665d89e4d3792325c3f.tar.bz2
Add error checking to aapt for split generation
Change-Id: Ica627db6a671f6a6c35f98bfd9c03598ffe103ce
Diffstat (limited to 'tools/aapt/AaptConfig.h')
-rw-r--r--tools/aapt/AaptConfig.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/aapt/AaptConfig.h b/tools/aapt/AaptConfig.h
index 2963539..f73a508 100644
--- a/tools/aapt/AaptConfig.h
+++ b/tools/aapt/AaptConfig.h
@@ -80,6 +80,12 @@ android::String8 getVersion(const android::ResTable_config& config);
*/
bool isSameExcept(const android::ResTable_config& a, const android::ResTable_config& b, int configMask);
+/**
+ * Returns true if the configuration only has the density specified. In the case
+ * of 'anydpi', the version is ignored.
+ */
+bool isDensityOnly(const android::ResTable_config& config);
+
} // namespace AaptConfig
#endif // __AAPT_CONFIG_H