refactor(youtube/general-ads-patch): remove unused code (#1005)

This commit is contained in:
OxrxL 2022-11-09 01:20:13 +01:00 committed by GitHub
parent 9770ba2a0e
commit 262a777c09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,7 +56,6 @@ class GeneralBytecodeAdsPatch : BytecodePatch() {
private val stringReferences = arrayOf(
"Claiming to use more elements than provided",
"loadVideo() called on LocalDirector in wrong state",
"LoggingProperties are not in proto format"
)
@ -245,11 +244,7 @@ class GeneralBytecodeAdsPatch : BytecodePatch() {
)
}
stringReferences[1] -> {
// TODO: migrate video ads patch to here if necessary
}
stringReferences[2] -> { // Litho ads
stringReferences[1] -> { // Litho ads
val proxy = context.proxy(classDef)
val proxiedClass = proxy.mutableClass