fix: update patches

Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
This commit is contained in:
oSumAtrIX
2022-05-07 17:50:22 +02:00
parent 24245b8d53
commit e6f3b3cd21
11 changed files with 28 additions and 40 deletions
@@ -19,7 +19,7 @@ import org.jf.dexlib2.Opcode
private val compatiblePackages = listOf(
PackageMetadata(
"com.google.android.youtube",
listOf("17.14.35")
listOf("17.14.35", "17.17.34")
)
)
@@ -35,7 +35,7 @@ class MinimizedPlaybackPatch : BytecodePatch(
MethodSignature(
MethodSignatureMetadata(
"minimized-playback-manager",
MethodMetadata(null, null), // unknown
MethodMetadata("Lype", "j"), // unknown
PatternScanMethod.Fuzzy(2), // FIXME: Test this threshold and find the best value.
compatiblePackages,
"Signature for the method required to be patched.",