All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.robv.android.xposed.IXposedHookZygoteInit Maven / Gradle / Ivy

Go to download

ratel api,used for developer on ratel system,an extension for xposed framewrok,ratel api compatable with original xposed framework

There is a newer version: 1.3.6
Show newest version
package de.robv.android.xposed;

/**
 * Hook the initialization of Zygote process(es), from which all the apps are forked.
 *
 * 

Implement this interface in your module's main class in order to be notified when Android is * starting up. In {@link IXposedHookZygoteInit}, you can modify objects and place hooks that should * be applied for every app. Only the Android framework/system classes are available at that point * in time. Use {@code null} as class loader for {@link XposedHelpers#findAndHookMethod(String, ClassLoader, String, Object...)} * and its variants. * *

If you want to hook one/multiple specific apps, use {@link IXposedHookLoadPackage} instead. */ public interface IXposedHookZygoteInit extends IXposedMod { /** * Called very early during startup of Zygote. * @param startupParam Details about the module itself and the started process. * @throws Throwable everything is caught, but will prevent further initialization of the module. */ void initZygote(StartupParam startupParam) throws Throwable; /** Data holder for {@link #initZygote}. */ final class StartupParam { public StartupParam() {} /** The path to the module's APK. */ public String modulePath; /** * Always {@code true} on 32-bit ROMs. On 64-bit, it's only {@code true} for the primary * process that starts the system_server. */ public boolean startsSystemServer; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy