Skip to content
This repository was archived by the owner on Oct 26, 2024. It is now read-only.

Commit d10c546

Browse files
committed
fix(general-ads): null check for identifier
1 parent b98e6fa commit d10c546

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/src/main/java/app/revanced/integrations/patches/GeneralBytecodeAdsPatch.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ public static boolean isAdComponent(StringBuilder pathBuilder, String identifier
146146
return true;
147147
}
148148

149-
if (identifierBlock.isBlocked(identifier)){
149+
if (identifier != null && identifierBlock.isBlocked(identifier)){
150150
LogHelper.debug(GeneralBytecodeAdsPatch.class, "Blocked: " + identifier);
151151
return true;
152152
}

0 commit comments

Comments
 (0)