diff --git a/.androidide/editor/openedFiles.json b/.androidide/editor/openedFiles.json index ffcdc94..9e28984 100644 --- a/.androidide/editor/openedFiles.json +++ b/.androidide/editor/openedFiles.json @@ -4,14 +4,14 @@ "file": "/storage/emulated/0/铃芽の文件/Projects/FuckMaoNemo/app/src/main/res/xml/config.xml", "selection": { "end": { - "column": 7, - "index": 1062, - "line": 30 + "column": 102, + "index": 683, + "line": 19 }, "start": { - "column": 7, - "index": 1062, - "line": 30 + "column": 102, + "index": 683, + "line": 19 } } }, @@ -19,29 +19,14 @@ "file": "/storage/emulated/0/铃芽の文件/Projects/FuckMaoNemo/app/src/main/java/io/github/moonleeeaf/fuckmaonemo/Hook.java", "selection": { "end": { - "column": 39, - "index": 3614, - "line": 83 + "column": 31, + "index": 3660, + "line": 84 }, "start": { - "column": 39, - "index": 3614, - "line": 83 - } - } - }, - { - "file": "/storage/emulated/0/铃芽の文件/Projects/FuckMaoNemo/app/build.gradle", - "selection": { - "end": { - "column": 23, - "index": 273, - "line": 14 - }, - "start": { - "column": 23, - "index": 273, - "line": 14 + "column": 31, + "index": 3660, + "line": 84 } } } diff --git a/app/src/main/java/io/github/moonleeeaf/fuckmaonemo/Hook.java b/app/src/main/java/io/github/moonleeeaf/fuckmaonemo/Hook.java index ee35292..8bc8c3b 100644 --- a/app/src/main/java/io/github/moonleeeaf/fuckmaonemo/Hook.java +++ b/app/src/main/java/io/github/moonleeeaf/fuckmaonemo/Hook.java @@ -82,8 +82,7 @@ protected void beforeHookedMethod(MethodHookParam mP) throws Throwable { XposedHelpers.setIntField(rawRes, "code", 200); XposedBridge.log("[FuckMaoNemo] 拦截响应 " + code + " 码"); String t = "响应码 " + code; - if (code != 401) - Toast.makeText(getApplication(), "[FuckMaoNemo] " + t, Toast.LENGTH_SHORT).show(); + // Toast.makeText(getApplication(), "[FuckMaoNemo] " + t, Toast.LENGTH_SHORT).show(); } } } diff --git a/app/src/main/res/xml/config.xml b/app/src/main/res/xml/config.xml index 081a0b1..dbed044 100644 --- a/app/src/main/res/xml/config.xml +++ b/app/src/main/res/xml/config.xml @@ -17,7 +17,7 @@ + android:summary="启用此开关后,将可以:\n拦截 401 码强制登出账号\n强制浏览已封禁账号的资料卡\n评论接口检测\n其他作用\n现在不再弹出 Toast 提示" />