Change some log text
This commit is contained in:
parent
3f5279856d
commit
879ab80556
|
|
@ -171,7 +171,7 @@ public class LSPApplication extends ApplicationServiceClient {
|
||||||
if (useManager) {
|
if (useManager) {
|
||||||
try {
|
try {
|
||||||
modules.addAll(managerResolver.getModules());
|
modules.addAll(managerResolver.getModules());
|
||||||
modules.forEach(m -> Log.i(TAG, "Load module " + m.packageName + " from manager"));
|
modules.forEach(m -> Log.i(TAG, "load module from manager: " + m.packageName));
|
||||||
} catch (NullPointerException | RemoteException e) {
|
} catch (NullPointerException | RemoteException e) {
|
||||||
Log.e(TAG, "Failed to get modules from manager", e);
|
Log.e(TAG, "Failed to get modules from manager", e);
|
||||||
}
|
}
|
||||||
|
|
@ -300,7 +300,7 @@ public class LSPApplication extends ApplicationServiceClient {
|
||||||
hookActivityAttach();
|
hookActivityAttach();
|
||||||
hookServiceAttach();
|
hookServiceAttach();
|
||||||
}
|
}
|
||||||
hookApplicationStub();
|
// hookApplicationStub();
|
||||||
int bypassLv = fetchSigbypassLv(context);
|
int bypassLv = fetchSigbypassLv(context);
|
||||||
if (bypassLv >= Constants.SIGBYPASS_LV_PM) {
|
if (bypassLv >= Constants.SIGBYPASS_LV_PM) {
|
||||||
byPassSignature(context);
|
byPassSignature(context);
|
||||||
|
|
|
||||||
|
|
@ -86,6 +86,7 @@ public class LSPAppComponentFactoryStub extends AppComponentFactory {
|
||||||
@Override
|
@Override
|
||||||
public Application instantiateApplication(ClassLoader cl, String className) throws IllegalAccessException, InstantiationException, ClassNotFoundException {
|
public Application instantiateApplication(ClassLoader cl, String className) throws IllegalAccessException, InstantiationException, ClassNotFoundException {
|
||||||
lspClassLoader.loadClass(PROXY_APPLICATION).newInstance();
|
lspClassLoader.loadClass(PROXY_APPLICATION).newInstance();
|
||||||
|
Log.i(TAG, "lspd initialized, instantiate original application");
|
||||||
return originalAppComponentFactory.instantiateApplication(cl, className);
|
return originalAppComponentFactory.instantiateApplication(cl, className);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue