public class WrapperInit extends Object
Modifier and Type | Method and Description |
---|---|
static void |
execApplication(String invokeWith,
String niceName,
int targetSdkVersion,
String instructionSet,
FileDescriptor pipeFd,
String[] args)
Executes a runtime application with a wrapper command.
|
static void |
main(String[] args)
The main function called when starting a runtime application through a
wrapper process instead of by forking Zygote.
|
public static void main(String[] args)
args
- The command-line arguments.public static void execApplication(String invokeWith, String niceName, int targetSdkVersion, String instructionSet, FileDescriptor pipeFd, String[] args)
invokeWith
- The wrapper command.niceName
- The nice name for the application, or null if none.targetSdkVersion
- The target SDK version for the app.pipeFd
- The pipe to which the application's pid should be written, or null if none.args
- Arguments for RuntimeInit.main(java.lang.String[])
.