mirror of
https://github.com/revanced/revanced-patches.git
synced 2025-12-12 20:33:55 +01:00
fix(YouTube): Fix refactoring app startup exception
This commit is contained in:
@@ -90,8 +90,6 @@ public final class LithoFilterPatch {
|
|||||||
*/
|
*/
|
||||||
private static final int LITHO_LAYOUT_THREAD_POOL_SIZE = 1;
|
private static final int LITHO_LAYOUT_THREAD_POOL_SIZE = 1;
|
||||||
|
|
||||||
private static final byte[] EMPTY_BYTE_ARRAY = new byte[0];
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Placeholder for actual filters.
|
* Placeholder for actual filters.
|
||||||
*/
|
*/
|
||||||
@@ -104,6 +102,8 @@ public final class LithoFilterPatch {
|
|||||||
private static final StringTrieSearch pathSearchTree = new StringTrieSearch();
|
private static final StringTrieSearch pathSearchTree = new StringTrieSearch();
|
||||||
private static final StringTrieSearch identifierSearchTree = new StringTrieSearch();
|
private static final StringTrieSearch identifierSearchTree = new StringTrieSearch();
|
||||||
|
|
||||||
|
private static final byte[] EMPTY_BYTE_ARRAY = new byte[0];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Because litho filtering is multi-threaded and the buffer is passed in from a different injection point,
|
* Because litho filtering is multi-threaded and the buffer is passed in from a different injection point,
|
||||||
* the buffer is saved to a ThreadLocal so each calling thread does not interfere with other threads.
|
* the buffer is saved to a ThreadLocal so each calling thread does not interfere with other threads.
|
||||||
|
|||||||
Reference in New Issue
Block a user