INNER CODE UNIT · Java
onCreate
termux/termux-api · app/src/main/java/com/termux/api/TermuxAPIApplication.java:18
public void onCreate() {
super.onCreate();
Log.i(LOG_TAG, "AppInit");
Context context = getApplicationContext();
// Set crash handler for the app
TermuxCrashUtils.setCrashHandler(context);
ResultReturner.setContext(this);
// Set log config for the app
setLogConfig(context, true);
SocketListener.createSocketListener(this);
}