DroidPlugin: log exception

This commit is contained in:
Andy Zhang
2015-10-29 18:43:43 +08:00
parent 7abec27132
commit 2005ba283f
@@ -411,12 +411,12 @@ public class PluginProcessManager {
} catch (InvocationTargetException e) {
Throwable cause = e.getCause();
if (cause != null) {
cause.printStackTrace();
Log.w(TAG, "Fake system service faile", e);
} else {
e.printStackTrace();
Log.w(TAG, "Fake system service faile", e);
}
} catch (Exception e) {
e.printStackTrace();
Log.w(TAG, "Fake system service faile", e);
}
}
mServiceCache = FieldUtils.readField(originContext, "mServiceCache");