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

Commit 9f5c04d

Browse files
fix: remove spammy log statements that are no longer are required
1 parent 830b692 commit 9f5c04d

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

app/src/main/java/app/revanced/integrations/youtube/patches/MiniplayerPatch.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,6 @@ public static void adjustMiniplayerOpacity(ImageView view) {
196196
* Injection point.
197197
*/
198198
public static boolean getModernFeatureFlagsActiveOverride(boolean original) {
199-
if (original) Logger.printDebug(() -> "getModernFeatureFlagsActiveOverride original: " + original);
200-
201199
if (CURRENT_TYPE == ORIGINAL) {
202200
return original;
203201
}
@@ -209,8 +207,6 @@ public static boolean getModernFeatureFlagsActiveOverride(boolean original) {
209207
* Injection point.
210208
*/
211209
public static boolean enableMiniplayerDoubleTapAction(boolean original) {
212-
if (original) Logger.printDebug(() -> "enableMiniplayerDoubleTapAction original: " + true);
213-
214210
if (CURRENT_TYPE == ORIGINAL) {
215211
return original;
216212
}
@@ -222,8 +218,6 @@ public static boolean enableMiniplayerDoubleTapAction(boolean original) {
222218
* Injection point.
223219
*/
224220
public static boolean enableMiniplayerDragAndDrop(boolean original) {
225-
if (original) Logger.printDebug(() -> "enableMiniplayerDragAndDrop original: " + true);
226-
227221
if (CURRENT_TYPE == ORIGINAL) {
228222
return original;
229223
}
@@ -236,8 +230,6 @@ public static boolean enableMiniplayerDragAndDrop(boolean original) {
236230
* Injection point.
237231
*/
238232
public static boolean setRoundedCorners(boolean original) {
239-
if (original) Logger.printDebug(() -> "setRoundedCorners original: " + true);
240-
241233
if (CURRENT_TYPE.isModern()) {
242234
return MINIPLAYER_ROUNDED_CORNERS_ENABLED;
243235
}
@@ -271,8 +263,6 @@ public static float setMovementBoundFactor(float original) {
271263
* Injection point.
272264
*/
273265
public static boolean setDropShadow(boolean original) {
274-
if (original) Logger.printDebug(() -> "setViewElevation original: " + true);
275-
276266
return original;
277267
}
278268

app/src/main/java/app/revanced/integrations/youtube/patches/components/LithoFilterPatch.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,6 @@ public static boolean filter(@Nullable String lithoIdentifier, @NonNull StringBu
155155
// Potentially the buffer may have been null or never set up until now.
156156
// Use an empty buffer so the litho id/path filters still work correctly.
157157
if (protobufBuffer == null) {
158-
Logger.printDebug(() -> "Proto buffer is null, using an empty buffer array");
159158
bufferArray = EMPTY_BYTE_ARRAY;
160159
} else if (!protobufBuffer.hasArray()) {
161160
Logger.printDebug(() -> "Proto buffer does not have an array, using an empty buffer array");

0 commit comments

Comments
 (0)