File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
patches/src/main/kotlin/app/revanced/patches/spotify/misc/fix Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -19,3 +19,11 @@ internal val startupPageLayoutInflateFingerprint = fingerprint {
1919 parameters(" Landroid/view/LayoutInflater;" , " Landroid/view/ViewGroup;" , " Landroid/os/Bundle;" )
2020 strings(" blueprintContainer" , " gradient" , " valuePropositionTextView" )
2121}
22+
23+ internal val standardIntegrityTokenProviderBuilderFingerprint = fingerprint {
24+ strings(
25+ " standard_pi_init" ,
26+ " outcome" ,
27+ " success"
28+ )
29+ }
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ import app.revanced.patches.spotify.misc.extension.sharedExtensionPatch
1212import app.revanced.util.findInstructionIndicesReversedOrThrow
1313import app.revanced.util.getReference
1414import app.revanced.util.indexOfFirstInstructionReversedOrThrow
15+ import app.revanced.util.returnEarly
1516import com.android.tools.smali.dexlib2.Opcode
1617import com.android.tools.smali.dexlib2.iface.instruction.OneRegisterInstruction
1718import com.android.tools.smali.dexlib2.iface.reference.MethodReference
@@ -118,5 +119,8 @@ val spoofClientPatch = bytecodePatch(
118119 """
119120 )
120121 }
122+
123+ // Early return to block sending bad verdicts to the API.
124+ standardIntegrityTokenProviderBuilderFingerprint.method.returnEarly()
121125 }
122126}
You can’t perform that action at this time.
0 commit comments