From d10c5462f4a1ec20715686d07fb1219f3e4a1f78 Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Mon, 3 Oct 2022 03:49:31 +0200 Subject: [PATCH] fix(general-ads): null check for identifier --- .../revanced/integrations/patches/GeneralBytecodeAdsPatch.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/app/revanced/integrations/patches/GeneralBytecodeAdsPatch.java b/app/src/main/java/app/revanced/integrations/patches/GeneralBytecodeAdsPatch.java index e5a6abf3..11561650 100644 --- a/app/src/main/java/app/revanced/integrations/patches/GeneralBytecodeAdsPatch.java +++ b/app/src/main/java/app/revanced/integrations/patches/GeneralBytecodeAdsPatch.java @@ -146,7 +146,7 @@ public class GeneralBytecodeAdsPatch { return true; } - if (identifierBlock.isBlocked(identifier)){ + if (identifier != null && identifierBlock.isBlocked(identifier)){ LogHelper.debug(GeneralBytecodeAdsPatch.class, "Blocked: " + identifier); return true; }