mirror of
https://github.com/revanced/revanced-patches
synced 2024-11-19 23:19:27 +01:00
refactor(youtube/general-ads-patch): remove unused code (#1005)
This commit is contained in:
parent
239c668435
commit
12ab08f207
@ -56,7 +56,6 @@ class GeneralBytecodeAdsPatch : BytecodePatch() {
|
|||||||
|
|
||||||
private val stringReferences = arrayOf(
|
private val stringReferences = arrayOf(
|
||||||
"Claiming to use more elements than provided",
|
"Claiming to use more elements than provided",
|
||||||
"loadVideo() called on LocalDirector in wrong state",
|
|
||||||
"LoggingProperties are not in proto format"
|
"LoggingProperties are not in proto format"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -245,11 +244,7 @@ class GeneralBytecodeAdsPatch : BytecodePatch() {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
stringReferences[1] -> {
|
stringReferences[1] -> { // Litho ads
|
||||||
// TODO: migrate video ads patch to here if necessary
|
|
||||||
}
|
|
||||||
|
|
||||||
stringReferences[2] -> { // Litho ads
|
|
||||||
val proxy = context.proxy(classDef)
|
val proxy = context.proxy(classDef)
|
||||||
val proxiedClass = proxy.mutableClass
|
val proxiedClass = proxy.mutableClass
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user