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

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

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

Add logging for isDebuggable

See merge request e/os/android_frameworks_base!259
parents 9ed4a037 cc4d0f7c
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