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

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

Add logging for isDebuggable

parent 2a9fc961
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -8948,6 +8948,10 @@ public class PackageManagerService extends IPackageManager.Stub
    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