summaryrefslogtreecommitdiff
path: root/tools/aapt2/cmd/Link.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/aapt2/cmd/Link.h')
-rw-r--r--tools/aapt2/cmd/Link.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/aapt2/cmd/Link.h b/tools/aapt2/cmd/Link.h
index dc18b1ccda60..8fe414f4f660 100644
--- a/tools/aapt2/cmd/Link.h
+++ b/tools/aapt2/cmd/Link.h
@@ -335,6 +335,11 @@ class LinkCommand : public Command {
"are separated by ',' and the name is separated from the value by '='.\n"
"Example: \"flag1=true,flag2=false,flag3=\" (flag3 has no given value).",
&feature_flags_args_);
+ AddOptionalSwitch("--non-updatable-system",
+ "Mark the app as a non-updatable system app. This inserts\n"
+ "updatableSystem=\"false\" to the root manifest node, overwriting any\n"
+ "existing attribute. This is ignored if the manifest has a versionCode.",
+ &options_.manifest_fixer_options.non_updatable_system);
}
int Action(const std::vector<std::string>& args) override;