-
- Downloads
[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
Showing
- tools/aapt2/cmd/Link.h 5 additions, 0 deletionstools/aapt2/cmd/Link.h
- tools/aapt2/link/ManifestFixer.cpp 10 additions, 0 deletionstools/aapt2/link/ManifestFixer.cpp
- tools/aapt2/link/ManifestFixer.h 5 additions, 0 deletionstools/aapt2/link/ManifestFixer.h
- tools/aapt2/link/ManifestFixer_test.cpp 77 additions, 0 deletionstools/aapt2/link/ManifestFixer_test.cpp
Loading
Please register or sign in to comment