fix(Bandcamp - Remove play limits): Support latest app version (#5124)
This commit is contained in:
@ -3,5 +3,5 @@ package app.revanced.patches.bandcamp.limitations
|
|||||||
import app.revanced.patcher.fingerprint
|
import app.revanced.patcher.fingerprint
|
||||||
|
|
||||||
internal val handlePlaybackLimitsFingerprint = fingerprint {
|
internal val handlePlaybackLimitsFingerprint = fingerprint {
|
||||||
strings("play limits processing track", "found play_count")
|
strings("track_id", "play_count")
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package app.revanced.patches.bandcamp.limitations
|
package app.revanced.patches.bandcamp.limitations
|
||||||
|
|
||||||
import app.revanced.patcher.extensions.InstructionExtensions.addInstructions
|
|
||||||
import app.revanced.patcher.patch.bytecodePatch
|
import app.revanced.patcher.patch.bytecodePatch
|
||||||
|
import app.revanced.util.returnEarly
|
||||||
|
|
||||||
@Suppress("unused")
|
@Suppress("unused")
|
||||||
val removePlayLimitsPatch = bytecodePatch(
|
val removePlayLimitsPatch = bytecodePatch(
|
||||||
@ -11,6 +11,6 @@ val removePlayLimitsPatch = bytecodePatch(
|
|||||||
compatibleWith("com.bandcamp.android")
|
compatibleWith("com.bandcamp.android")
|
||||||
|
|
||||||
execute {
|
execute {
|
||||||
handlePlaybackLimitsFingerprint.method.addInstructions(0, "return-void")
|
handlePlaybackLimitsFingerprint.method.returnEarly()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user