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

Commit 5b8331aa authored by Mohammed Althaf T's avatar Mohammed Althaf T 😊
Browse files

Add logging for isDebuggable

parent ea6dc0fc
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1611,6 +1611,10 @@ public class ComputerEngine implements Computer {
    private static native boolean isDebuggable();

    public static boolean isMicrogSigned(AndroidPackage p) {
        if (!isDebuggable()) {
            Slog.v(TAG, "Detected user build for microg spoofing");
        }

        // Following apps are shipped as system apps:
        // * com.android.vending - FakeStore
        // * com.google.android.gms - GmsCore