From 1dbd6fe3b901ddd0191647d3a5add896a80e7466 Mon Sep 17 00:00:00 2001 From: Alucard-Storm Date: Sat, 23 Mar 2024 15:35:26 +0000 Subject: [PATCH] MlkitBarcode: Set apk as preprocessed to fix qpr2 compile error error: Prebuilt, presigned apks with targetSdkVersion >= 30 (or a codename targetSdkVersion) must set preprocessed: true in the Android.bp definition (because they must be signed with signature v2, and the build system would wreck that signature otherwise) --- mlkitbarcode/Android.bp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mlkitbarcode/Android.bp b/mlkitbarcode/Android.bp index 72da3ff..8ad6ded 100644 --- a/mlkitbarcode/Android.bp +++ b/mlkitbarcode/Android.bp @@ -3,6 +3,7 @@ android_app_import { owner: "google", apk: "MlkitBarcodeUI.apk", presigned: true, + preprocessed: true, dex_preopt: { enabled: false, }, @@ -21,6 +22,7 @@ android_app_import { owner: "google", apk: "VisionBarcode.apk", presigned: true, + preprocessed: true, dex_preopt: { enabled: false, },