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

Commit befadd11 authored by Adefemi Lawal's avatar Adefemi Lawal
Browse files

removed safety net hooks from instrumentation.java

parent 14e1dabe
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -75,7 +75,6 @@ import java.util.Objects;
import java.util.StringJoiner;
import java.util.concurrent.TimeoutException;

import com.android.internal.safetynet.SafetyNetHooks;

/**
 * Base class for implementing application instrumentation code.  When running
@@ -1358,7 +1357,6 @@ public class Instrumentation {
        Application app = getFactory(context.getPackageName())
                .instantiateApplication(cl, className);
        app.attach(context);
        SafetyNetHooks.init(app);
        return app;
    }
    
@@ -1376,7 +1374,6 @@ public class Instrumentation {
            ClassNotFoundException {
        Application app = (Application)clazz.newInstance();
        app.attach(context);
        SafetyNetHooks.init(app);
        return app;
    }