commit | cc694e5517e093c3b28879540fa0bf939c88f98a | [log] [tgz] |
---|---|---|
author | Mark Punzalan <markpun@google.com> | Tue Apr 02 20:43:23 2024 +0000 |
committer | Dario Freni <dariofreni@google.com> | Mon Apr 29 16:02:24 2024 +0000 |
tree | 66c0cde7be4f7319bba62c816c64fd740d306628 | |
parent | 3577d5d05d51a4980c100b6cfe626dbbc9161471 [diff] |
[aapt2] Add --non-updatable-system flag This adds `updatableSystem="false"` to the root <manifest> tag if no versionCode is specified (either explicitly or through --version-code). This attribute makes the APK not updatable (see b/266131956). Bug: 328302305 Test: atest aapt2_tests Test: Manually ran `aapt2 link --non-updatable-system` and verified the resulting APK. Change-Id: I51cdbcdac7c03de10aac9bc22f5081e12fa142ab