X-Git-Url: https://git.saurik.com/android/aapt.git/blobdiff_plain/1ae71b737237659d84b7564de9dcc182f98c98de..3b8c05ce0707be71abb209f7dbae564088426d87:/Bundle.h diff --git a/Bundle.h b/Bundle.h index d7cb61a..be08291 100644 --- a/Bundle.h +++ b/Bundle.h @@ -51,7 +51,7 @@ public: mUpdate(false), mExtending(false), mRequireLocalization(false), mPseudolocalize(false), mWantUTF16(false), mValues(false), - mCompressionMethod(0), mOutputAPKFile(NULL), + mCompressionMethod(0), mJunkPath(false), mOutputAPKFile(NULL), mManifestPackageNameOverride(NULL), mInstrumentationPackageNameOverride(NULL), mAutoAddOverlay(false), mGenDependencies(false), mAssetSourceDir(NULL), @@ -61,7 +61,7 @@ public: mMinSdkVersion(NULL), mTargetSdkVersion(NULL), mMaxSdkVersion(NULL), mVersionCode(NULL), mVersionName(NULL), mCustomPackage(NULL), mExtraPackages(NULL), mMaxResVersion(NULL), mDebugMode(false), mNonConstantId(false), mProduct(NULL), - mUseCrunchCache(false), mArgc(0), mArgv(NULL) + mUseCrunchCache(false), mErrorOnFailedInsert(false), mArgc(0), mArgv(NULL) {} ~Bundle(void) {} @@ -110,6 +110,8 @@ public: void setAutoAddOverlay(bool val) { mAutoAddOverlay = val; } bool getGenDependencies() { return mGenDependencies; } void setGenDependencies(bool val) { mGenDependencies = val; } + bool getErrorOnFailedInsert() { return mErrorOnFailedInsert; } + void setErrorOnFailedInsert(bool val) { mErrorOnFailedInsert = val; } bool getUTF16StringsOption() { return mWantUTF16 || !isMinSdkAtLeast(SDK_FROYO); @@ -276,6 +278,7 @@ private: bool mNonConstantId; const char* mProduct; bool mUseCrunchCache; + bool mErrorOnFailedInsert; /* file specification */ int mArgc;