mirror of
https://github.com/revanced/revanced-integrations.git
synced 2025-01-07 10:35:49 +01:00
chore(YouTube): Only debug log if protobufBuffer
has no array
This commit is contained in:
parent
781cdf88df
commit
58afcec641
@ -489,8 +489,13 @@ public final class LithoFilterPatch {
|
|||||||
return false;
|
return false;
|
||||||
|
|
||||||
ByteBuffer protobufBuffer = bufferThreadLocal.get();
|
ByteBuffer protobufBuffer = bufferThreadLocal.get();
|
||||||
if (protobufBuffer == null || !protobufBuffer.hasArray()) {
|
if (protobufBuffer == null) {
|
||||||
LogHelper.printException(() -> "Proto buffer is null or has no array"); // Should never happen.
|
LogHelper.printException(() -> "Proto buffer is null"); // Should never happen.
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!protobufBuffer.hasArray()) {
|
||||||
|
LogHelper.printDebug(() -> "Proto buffer does not have an array");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user