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
@@ -11,7 +11,7 @@ import org.w3c.dom.Element
private val compatiblePackages = listOf(
PackageMetadata(
"com.google.android.youtube",
listOf("17.14.35")
listOf("17.14.35", "17.17.34")
)
)
class FixLocaleConfigErrorPatch : ResourcePatch(
@@ -22,7 +22,7 @@ import org.jf.dexlib2.immutable.ImmutableMethodImplementation
private val compatiblePackages = listOf(
PackageMetadata(
"com.google.android.youtube",
listOf("17.03.38", "17.14.35")
listOf("17.03.38", "17.14.35", "17.17.34")
)
)
@@ -38,7 +38,7 @@ class IntegrationsPatch : BytecodePatch(
MethodSignature(
MethodSignatureMetadata(
"integrations-patch",
MethodMetadata(null, null), // unknown
MethodMetadata("Lacnx", "onCreate"),
PatternScanMethod.Fuzzy(2), // FIXME: Test this threshold and find the best value.
compatiblePackages,
"Inject the integrations into the application with the method of this signature",