diff options
author | Adam Lesinski <adamlesinski@google.com> | 2014-06-18 15:06:01 -0700 |
---|---|---|
committer | Adam Lesinski <adamlesinski@google.com> | 2014-08-04 18:48:14 -0700 |
commit | 833f3ccbc8f4dd1ec8abb9121988b99ff34ec4c1 (patch) | |
tree | a57e8389088178108de1424faf41ea3bb87c934a /include | |
parent | 5c09e8ad5ee8e67976066366527ee58792551953 (diff) | |
download | frameworks_base-833f3ccbc8f4dd1ec8abb9121988b99ff34ec4c1.zip frameworks_base-833f3ccbc8f4dd1ec8abb9121988b99ff34ec4c1.tar.gz frameworks_base-833f3ccbc8f4dd1ec8abb9121988b99ff34ec4c1.tar.bz2 |
AAPT support for feature splits
This change allows the developer to add a base package for
which to build a feature split. The generated resource types
will begin after the base APK's defined types so as not
to collide or override resources.
Multiple features can be generated by first choosing an
arbitrary order for the features. Then for each feature,
the base APK and any preceding features are specified
with the --feature-of flags.
So with a base APK 'A' and features, 'B', and 'C',
'B' would be built with
aapt package [...] --feature-of A [...]
and 'C' would be built with
aapt package [...] --feature-of A --feature-of B [...]
Change-Id: I1be66e3f8df9a737b21c71f8a93685376c7e6780
Diffstat (limited to 'include')
-rw-r--r-- | include/androidfw/ResourceTypes.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/androidfw/ResourceTypes.h b/include/androidfw/ResourceTypes.h index e612c0a..b56829d 100644 --- a/include/androidfw/ResourceTypes.h +++ b/include/androidfw/ResourceTypes.h @@ -1684,6 +1684,8 @@ public: public: inline virtual ~Accessor() { } + virtual const String16& getAssetsPackage() const = 0; + virtual uint32_t getCustomResource(const String16& package, const String16& type, const String16& name) const = 0; |