MCPcopy Create free account
hub / github.com/CreditTone/hooker / getBaseContext

Function getBaseContext

js/android_ui.js:74–78  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

72};
73
74function getBaseContext() {
75 var currentApplication = Java.use('android.app.ActivityThread').currentApplication();
76 var context = currentApplication.getApplicationContext();
77 return context; //Java.scheduleOnMainThread(fn):
78};
79
80function sleep(time) {
81 var startTime = new Date().getTime() + parseInt(time, 10);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected