com.virjar.ratel.api.xposed.IRXposedHookZygoteInit Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ratel-api Show documentation
Show all versions of ratel-api Show documentation
ratel api,used for developer on ratel system,an extension for xposed framewrok,ratel api compatable with original xposed framework
package com.virjar.ratel.api.xposed;
public interface IRXposedHookZygoteInit {
/**
* 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}.
*/
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;
}
}