Skip to content

Commit

Permalink
fix: breaking changes by revanced-patcher dependency
Browse files Browse the repository at this point in the history
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
  • Loading branch information
oSumAtrIX committed May 22, 2022
1 parent 3bceed8 commit e12e484
Show file tree
Hide file tree
Showing 68 changed files with 3,691 additions and 3,593 deletions.
1 change: 1 addition & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ dependencies {
testImplementation(kotlin("test"))

implementation("app.revanced:revanced-patcher:1.+")
implementation(kotlin("reflect"))
}

java {
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/app/revanced/extensions/Extensions.kt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package app.revanced.extensions

import app.revanced.patcher.smali.toInstruction
import app.revanced.patcher.util.smali.toInstruction
import org.jf.dexlib2.builder.MutableMethodImplementation

internal fun MutableMethodImplementation.injectHideCall(
Expand Down
44 changes: 0 additions & 44 deletions src/main/kotlin/app/revanced/patches/Index.kt

This file was deleted.

157 changes: 0 additions & 157 deletions src/main/kotlin/app/revanced/patches/music/audio/CodecsUnlockPatch.kt

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package app.revanced.patches.music.audio.codecs.annotations

import app.revanced.patcher.annotation.Compatibility
import app.revanced.patcher.annotation.Package

@Compatibility(
[Package(
"com.google.android.apps.youtube.music", arrayOf("5.03.50")
)]
)
@Target(AnnotationTarget.CLASS)
@Retention(AnnotationRetention.RUNTIME)
internal annotation class CodecsUnlockCompatibility

0 comments on commit e12e484

Please sign in to comment.