Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#3427 - Treat manifest warnings as warnings #3429

Merged
merged 2 commits into from
Nov 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,9 @@ private void invokeAapt2(File apkFile, File manifest, File resDir, File rawDir,

cmd.add("--no-compile-sdk-metadata");

// #3427 - Ignore stricter parsing during aapt2
cmd.add("--warn-manifest-validation");

if (mApkInfo.sparseResources) {
cmd.add("--enable-sparse-encoding");
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
android:name="android.accessibilityservice"
android:resource="@xml/accessibility_service_config" />
</service>
<fragment android:name=".views.Issue3427"/>
<meta-data name="test_int_as_string" value="\ 12345" />
<meta-data name="test_int" value="12345" />
</application>
Expand Down