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

Commit 29e1399e authored by Jonathan Klee's avatar Jonathan Klee
Browse files

Merge branch '0000-t-remove-useless-logs' into 'a14'

Remove useless log for microG spoofing on user build

See merge request e/os/android_frameworks_base!292
parents d3c0f1da d0334ce2
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -1474,9 +1474,14 @@ public class ComputerEngine implements Computer {

    private static native boolean isDebuggable();

    private static void noop() {
        // no-op
    }

    public static boolean isMicrogSigned(AndroidPackage p) {
        if (!isDebuggable()) {
            Slog.v(TAG, "Detected user build for microg spoofing");
            // no-op. jni was KO because isDebuggable() was unused
            noop();
        }

        // Following apps are shipped as system apps: