From 9a4c46a40616e64e30a54c21ad1d99aae61d9572 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/integrations/java/app/revanced/integrations/patches/GeneralBytecodeAdsPatch.java b/integrations/java/app/revanced/integrations/patches/GeneralBytecodeAdsPatch.java index e5a6abf32..115616501 100644 --- a/integrations/java/app/revanced/integrations/patches/GeneralBytecodeAdsPatch.java +++ b/integrations/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; }