mirror of
https://github.com/revanced/revanced-patches
synced 2024-06-02 19:36:37 +02:00
13 lines
451 B
Kotlin
13 lines
451 B
Kotlin
package net.revanced.patches.layouts
|
|
|
|
import net.revanced.patcher.cache.Cache
|
|
import net.revanced.patcher.patch.Patch
|
|
import net.revanced.patcher.patch.PatchResult
|
|
import net.revanced.patcher.patch.PatchResultSuccess
|
|
|
|
class MinimizedPlayback : Patch("minimized-playback") {
|
|
override fun execute(cache: Cache): PatchResult {
|
|
cache.methods["minimized-playback-manager"].method.instructions.clear()
|
|
return PatchResultSuccess()
|
|
}
|
|
} |