Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a0f95e3d authored by Victor Hsieh's avatar Victor Hsieh
Browse files

Keep CtsShimPriv's v2/v3 signature

The build system silently destroys APK's v2/v3 signature, even with the
PRESIGNED one.  This change prevents that.

Test: apksigner shows v2/v3 signature are reserved (after manual copy to
      the prebuilts)
Bug: 133505716
Change-Id: I34bab87157400b36bdf6a62f3c692523fcf2911c
parent f6f3f0b0
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -65,6 +65,9 @@ LOCAL_FULL_MANIFEST_FILE := $(gen)

LOCAL_MULTILIB := both
LOCAL_JNI_SHARED_LIBRARIES := libshim_jni
# Explicitly uncompress native libs rather than letting the build system doing it and destroy the
# v2/v3 signature.
LOCAL_USE_EMBEDDED_NATIVE_LIBS := true

LOCAL_USE_AAPT2 := true