diff options
Diffstat (limited to 'tools/aapt2/link/ManifestFixer.h')
-rw-r--r-- | tools/aapt2/link/ManifestFixer.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/aapt2/link/ManifestFixer.h b/tools/aapt2/link/ManifestFixer.h index 42938a4f8176..df0ece6fe24a 100644 --- a/tools/aapt2/link/ManifestFixer.h +++ b/tools/aapt2/link/ManifestFixer.h @@ -91,6 +91,11 @@ struct ManifestFixerOptions { // Whether to suppress `android:compileSdkVersion*` and `platformBuildVersion*` attributes. bool no_compile_sdk_metadata = false; + + // Whether to mark the app as a non-updatable system app. This adds `updatableSystem="false"` to + // the <manifest> tag. Not used if a version code is set either explicitly in the manifest or + // through version_code_default. + bool non_updatable_system = false; }; // Verifies that the manifest is correctly formed and inserts defaults where specified with |