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

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

Merge branch '2852-s-microg' into 'v2.6-s'

Add logging for isDebuggable

See merge request e/os/android_frameworks_base!261
parents 2a9fc961 ddae221d
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