From fdc467597e3b759b46a9efa728af5459a4b6f1d7 Mon Sep 17 00:00:00 2001 From: DHD2280 Date: Fri, 17 May 2024 20:21:02 +0200 Subject: [PATCH] CHANGELOG: Fix Statusbar App Icons --- .../xposed/hooks/systemui/statusbar/StatusbarMods.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/it/dhd/oxygencustomizer/xposed/hooks/systemui/statusbar/StatusbarMods.java b/app/src/main/java/it/dhd/oxygencustomizer/xposed/hooks/systemui/statusbar/StatusbarMods.java index 8ba87309b..9227dede5 100644 --- a/app/src/main/java/it/dhd/oxygencustomizer/xposed/hooks/systemui/statusbar/StatusbarMods.java +++ b/app/src/main/java/it/dhd/oxygencustomizer/xposed/hooks/systemui/statusbar/StatusbarMods.java @@ -544,6 +544,7 @@ protected void beforeHookedMethod(MethodHookParam param) throws Throwable { Object statusBarIcon = param.args[2]; String pkgName = (String) getObjectField(statusBarIcon, "pkg"); + if (pkgName.contains("com.android") || pkgName.contains("systemui")) return; try { if (!pkgName.contains("systemui")) { icon = mContext.getPackageManager().getApplicationIcon(pkgName);