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

Function getBaseContext

js/param_hook.js:91–95  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

89};
90
91function getBaseContext() {
92 var currentApplication = Java.use('android.app.ActivityThread').currentApplication();
93 var context = currentApplication.getApplicationContext();
94 return context; //Java.scheduleOnMainThread(fn):
95};
96
97function sleep(time) {
98 var startTime = new Date().getTime() + parseInt(time, 10);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected