add hide-fullscreen-panels patch

This commit is contained in:
inotia00
2023-02-05 12:44:06 +09:00
parent c2cef20998
commit 503ede30d7
8 changed files with 201 additions and 2 deletions

View File

@ -1,10 +0,0 @@
package app.revanced.patches.youtube.layout.player.autoplaybutton.bytecode.fingerprints
import app.revanced.patcher.fingerprint.method.impl.MethodFingerprint
object LayoutConstructorFingerprint : MethodFingerprint(
strings = listOf("1.0x"),
customFingerprint = {
it.definingClass.endsWith("YouTubeControlsOverlay;")
}
)

View File

@ -9,9 +9,9 @@ import app.revanced.patcher.patch.PatchResult
import app.revanced.patcher.patch.PatchResultSuccess
import app.revanced.patcher.patch.annotations.DependsOn
import app.revanced.patcher.util.smali.ExternalLabel
import app.revanced.patches.youtube.layout.player.autoplaybutton.bytecode.fingerprints.LayoutConstructorFingerprint
import app.revanced.shared.annotation.YouTubeCompatibility
import app.revanced.shared.extensions.toErrorResult
import app.revanced.shared.fingerprints.LayoutConstructorFingerprint
import app.revanced.shared.patches.mapping.ResourceMappingPatch
import app.revanced.shared.util.integrations.Constants.PLAYER_LAYOUT
import org.jf.dexlib2.iface.instruction.Instruction