diff options
Diffstat (limited to 'tools/aapt/ResourceTable.h')
-rw-r--r-- | tools/aapt/ResourceTable.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/aapt/ResourceTable.h b/tools/aapt/ResourceTable.h index 2c1bec1..c4bdf09 100644 --- a/tools/aapt/ResourceTable.h +++ b/tools/aapt/ResourceTable.h @@ -99,6 +99,15 @@ public: class Package; class Type; class Entry; + class ConfigList; + + /** + * Exposed for testing. Determines whether a versioned resource should be generated + * based on the other available configurations for that resource. + */ + static bool shouldGenerateVersionedResource(const sp<ConfigList>& configList, + const ConfigDescription& sourceConfig, + const int sdkVersionToGenerate); ResourceTable(Bundle* bundle, const String16& assetsPackage, PackageType type); |