diff --git a/app/src/main/java/pansong291/xposed/quickenergy/hook/RpcUtil.java b/app/src/main/java/pansong291/xposed/quickenergy/hook/RpcUtil.java index e495f3b8a..bb2424fbd 100644 --- a/app/src/main/java/pansong291/xposed/quickenergy/hook/RpcUtil.java +++ b/app/src/main/java/pansong291/xposed/quickenergy/hook/RpcUtil.java @@ -56,7 +56,7 @@ public static String getUserId(ClassLoader classLoader) { classLoader).getName()), "getMyAccountInfoModelByLocal"); return (String) XposedHelpers.getObjectField(callMethod, "userId"); } catch (Throwable th) { - Log.i(TAG, "getUserId err:" + Objects.requireNonNull(th.getCause()).getMessage()); + Log.i(TAG, "getUserId err"); Log.printStackTrace(TAG, th); } return null; diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 64a84cfb7..7b5a34579 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -108,6 +108,7 @@