From 700726f03a364df8e862c45b67514a75c3af13c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=84=95=E6=99=A8HChen?= <123531821+HChenX@users.noreply.github.com> Date: Fri, 12 Apr 2024 09:16:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=EF=BC=9AToast=E9=AB=98?= =?UTF-8?q?=E7=BA=A7=E6=9D=90=E8=B4=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../hyperceiler/module/hook/systemframework/ToastBlur.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/com/sevtinge/hyperceiler/module/hook/systemframework/ToastBlur.java b/app/src/main/java/com/sevtinge/hyperceiler/module/hook/systemframework/ToastBlur.java index 4b9f168efc..f02de46199 100644 --- a/app/src/main/java/com/sevtinge/hyperceiler/module/hook/systemframework/ToastBlur.java +++ b/app/src/main/java/com/sevtinge/hyperceiler/module/hook/systemframework/ToastBlur.java @@ -34,6 +34,7 @@ protected void beforeHookedMethod(MethodHookParam param) { protected void beforeHookedMethod(MethodHookParam param) { boolean mCustomizeView = false; View mView = (View) XposedHelpers.getObjectField(param.thisObject, "mView"); + if (mView == null) return; if (mView != null) { mCustomizeView = true; }