@@ -84,6 +84,14 @@ private val forceUpdateScreenRendererFingerprint = Fingerprint(
|
||||
strings = listOf("onUpdateClick", "onLearnMoreClick")
|
||||
)
|
||||
|
||||
private val playCoreUpdateManagerFingerprint = Fingerprint(
|
||||
definingClass = "Lcom/x/android/appupdate/b${'$'}a;",
|
||||
name = "invokeSuspend",
|
||||
returnType = "Ljava/lang/Object;",
|
||||
parameters = listOf("Ljava/lang/Object;"),
|
||||
strings = listOf("x_lite_in_app_update_enabled")
|
||||
)
|
||||
|
||||
private const val APP_UPDATE_ACTIVITY = "com.twitter.clientshutdown.update.AppUpdateActivity"
|
||||
|
||||
private val disableOutdatedVersionActivityPatch = resourcePatch {
|
||||
@@ -179,5 +187,14 @@ val disableOutdatedVersionScreenPatch = bytecodePatch(
|
||||
0,
|
||||
"return-void"
|
||||
)
|
||||
|
||||
playCoreUpdateManagerFingerprint.method.addInstructions(
|
||||
0,
|
||||
"""
|
||||
sget-object v0, Lkotlin/Unit;->a:Lkotlin/Unit;
|
||||
return-object v0
|
||||
"""
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user