summaryrefslogtreecommitdiff
path: root/tools/aapt/Bundle.h
diff options
context:
space:
mode:
authorAdam Lesinski <adamlesinski@google.com>2014-12-16 09:16:26 -0800
committerAdam Lesinski <adamlesinski@google.com>2014-12-16 09:16:26 -0800
commit54de298c01ad79fe7f5850eb7aefc2542dd8d5da (patch)
tree7e7b5001571265a66474e793bcd6c00ed81797d5 /tools/aapt/Bundle.h
parent4df65bf1eb454814954421403da9f8b5fcb82180 (diff)
AAPT: Copy android:revisionCode to Splits
Bug:18706179 Change-Id: I669b56e0b67dd1bfda7749ef433b55af16851154
Diffstat (limited to 'tools/aapt/Bundle.h')
-rw-r--r--tools/aapt/Bundle.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/aapt/Bundle.h b/tools/aapt/Bundle.h
index 0e130f43c38f..e7cde749e9ba 100644
--- a/tools/aapt/Bundle.h
+++ b/tools/aapt/Bundle.h
@@ -179,6 +179,8 @@ public:
void setVersionName(const char* val) { mVersionName = val; }
bool getReplaceVersion() { return mReplaceVersion; }
void setReplaceVersion(bool val) { mReplaceVersion = val; }
+ const android::String8& getRevisionCode() { return mRevisionCode; }
+ void setRevisionCode(const char* val) { mRevisionCode = android::String8(val); }
const char* getCustomPackage() const { return mCustomPackage; }
void setCustomPackage(const char* val) { mCustomPackage = val; }
const char* getExtraPackages() const { return mExtraPackages; }
@@ -297,6 +299,7 @@ private:
android::String8 mFeatureOfPackage;
android::String8 mFeatureAfterPackage;
+ android::String8 mRevisionCode;
const char* mManifestMinSdkVersion;
const char* mMinSdkVersion;
const char* mTargetSdkVersion;