forked from ReVanced/revanced-patches-template
-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(tiktok/tiktok-settings): some fingerprints are broken
- Loading branch information
Showing
5 changed files
with
96 additions
and
109 deletions.
There are no files selected for viewing
12 changes: 6 additions & 6 deletions
12
...otlin/app/revanced/patches/tiktok/feedfilter/fingerprints/FeedApiServiceLIZFingerprint.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
package app.revanced.patches.tiktok.feedfilter.fingerprints | ||
|
||
import app.revanced.patcher.extensions.or | ||
import app.revanced.patcher.fingerprint.method.impl.MethodFingerprint | ||
import org.jf.dexlib2.AccessFlags | ||
import org.jf.dexlib2.Opcode | ||
|
||
object FeedApiServiceLIZFingerprint : MethodFingerprint( | ||
access = AccessFlags.PUBLIC or AccessFlags.STATIC or AccessFlags.FINAL or AccessFlags.SYNTHETIC, | ||
customFingerprint = { methodDef -> | ||
methodDef.definingClass.endsWith("/FeedApiService;") && methodDef.name == "LIZ" | ||
} | ||
opcodes = listOf( | ||
Opcode.RETURN_OBJECT, | ||
Opcode.MOVE_EXCEPTION | ||
), | ||
customFingerprint = { it.definingClass.endsWith("/FeedApiService;") } | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
...ain/kotlin/app/revanced/patches/tiktok/misc/settings/fingerprints/AboutPageFingerprint.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package app.revanced.patches.tiktok.misc.settings.fingerprints | ||
|
||
import app.revanced.patcher.fingerprint.method.impl.MethodFingerprint | ||
import org.jf.dexlib2.Opcode | ||
|
||
object AboutPageFingerprint : MethodFingerprint( | ||
opcodes = listOf( | ||
Opcode.CONST, | ||
Opcode.INVOKE_VIRTUAL, | ||
Opcode.MOVE_RESULT_OBJECT, | ||
Opcode.CONST_STRING | ||
), | ||
customFingerprint = { | ||
it.definingClass == "Lcom/ss/android/ugc/aweme/setting/page/AboutPage;" && | ||
it.name == "onViewCreated" | ||
} | ||
) |
39 changes: 0 additions & 39 deletions
39
...ain/kotlin/app/revanced/patches/tiktok/misc/settings/fingerprints/AboutViewFingerprint.kt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters