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

Commit cc4d0f7c authored by Mohammed Althaf T's avatar Mohammed Althaf T 😊 Committed by Mohammed Althaf T
Browse files

Add logging for isDebuggable



(cherry picked from commit 5b8331aa)

Co-authored-by: default avatarMohammed Althaf Thayyil <althafvly@gmail.com>
parent 9ed4a037
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1473,6 +1473,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