summaryrefslogtreecommitdiffstats
path: root/tools/aapt/ApkBuilder.h
diff options
context:
space:
mode:
authorAdam Lesinski <adamlesinski@google.com>2014-08-07 21:26:53 -0700
committerAdam Lesinski <adamlesinski@google.com>2014-08-14 19:29:47 +0000
commit6240840387335632fdc92d5d168f924e2f414dda (patch)
treec6e61afb94092c457c16c1c2c31b8cbb7277e4bf /tools/aapt/ApkBuilder.h
parentd7c1fae12ef0b31c225ef130e6b06445b5af53a9 (diff)
downloadframeworks_base-6240840387335632fdc92d5d168f924e2f414dda.zip
frameworks_base-6240840387335632fdc92d5d168f924e2f414dda.tar.gz
frameworks_base-6240840387335632fdc92d5d168f924e2f414dda.tar.bz2
Ensure that split names are valid
Generate valid split names for resource splits. Validate split names for features. Change-Id: I3040438af0156778c2bd66ddeffdf62fe9dcc9fc
Diffstat (limited to 'tools/aapt/ApkBuilder.h')
-rw-r--r--tools/aapt/ApkBuilder.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/aapt/ApkBuilder.h b/tools/aapt/ApkBuilder.h
index db23c84..0d7f06b 100644
--- a/tools/aapt/ApkBuilder.h
+++ b/tools/aapt/ApkBuilder.h
@@ -95,6 +95,10 @@ public:
return mDirName;
}
+ const android::String8& getPackageSafeName() const {
+ return mPackageSafeName;
+ }
+
bool isBase() const {
return mIsBase;
}
@@ -111,6 +115,7 @@ private:
const bool mIsBase;
String8 mName;
String8 mDirName;
+ String8 mPackageSafeName;
std::set<OutputEntry> mFiles;
};