Skip to content

Commit

Permalink
fix: microg-support patch is sometimes broken
Browse files Browse the repository at this point in the history
  • Loading branch information
inotia00 committed Feb 13, 2023
1 parent 745b5f0 commit 0966b7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ import app.revanced.patcher.fingerprint.method.impl.MethodFingerprint
import org.jf.dexlib2.AccessFlags

object GooglePlayUtilityFingerprint : MethodFingerprint(
"I",
AccessFlags.PUBLIC or AccessFlags.STATIC,
listOf("L", "L"),
access = AccessFlags.PUBLIC or AccessFlags.STATIC,
strings = listOf("This should never happen.", "MetadataValueReader", "com.google.android.gms")
)
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
package app.revanced.patches.youtube.misc.microg.bytecode.fingerprints

import app.revanced.patcher.extensions.or
import app.revanced.patcher.fingerprint.method.impl.MethodFingerprint
import org.jf.dexlib2.AccessFlags

object ServiceCheckFingerprint : MethodFingerprint(
"V", AccessFlags.PUBLIC or AccessFlags.STATIC, listOf("L", "I"),
returnType = "V",
strings = listOf("Google Play Services not available", "GooglePlayServices not available due to error ")
)

0 comments on commit 0966b7d

Please sign in to comment.