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

Unverified Commit 18f3b5a2 authored by Michael Bestas's avatar Michael Bestas
Browse files

fixup! Allow signature spoofing for microG Companion/Services

Change-Id: If2452e0fa93fb6cfdb311c0d353403bcf96edf3c
parent 32ca6718
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -1484,12 +1484,8 @@ public class ComputerEngine implements Computer {
            return false;
        }

        Signature[] signatures = p.getSigningDetails().getSignatures();
        if (signatures == null) {
            return false;
        }

        return Signature.areExactMatch(signatures, new Signature[]{MICROG_REAL_SIGNATURE});
        return Signature.areExactMatch(
                p.getSigningDetails(), new Signature[]{MICROG_REAL_SIGNATURE});
    }

    private static Optional<Signature> generateFakeSignature(AndroidPackage p) {