mirror of
https://github.com/revanced/revanced-patches
synced 2025-02-16 04:26:48 +01:00
chore: Log hiding mix playlists (#485)
Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>
This commit is contained in:
parent
180b994e4f
commit
7760cdd100
@ -195,6 +195,11 @@ public final class LayoutComponentsFilter extends Filter {
|
||||
* Called from a different place then the other filters.
|
||||
*/
|
||||
public static boolean filterMixPlaylists(final byte[] bytes) {
|
||||
return mixPlaylists.check(bytes).isFiltered();
|
||||
final boolean isMixPlaylistFiltered = mixPlaylists.check(bytes).isFiltered();
|
||||
|
||||
if (isMixPlaylistFiltered)
|
||||
LogHelper.printDebug(() -> "Filtered mix playlist");
|
||||
|
||||
return isMixPlaylistFiltered;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user