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 {
19
19
parameters(" Landroid/view/LayoutInflater;" , " Landroid/view/ViewGroup;" , " Landroid/os/Bundle;" )
20
20
strings(" blueprintContainer" , " gradient" , " valuePropositionTextView" )
21
21
}
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
12
12
import app.revanced.util.findInstructionIndicesReversedOrThrow
13
13
import app.revanced.util.getReference
14
14
import app.revanced.util.indexOfFirstInstructionReversedOrThrow
15
+ import app.revanced.util.returnEarly
15
16
import com.android.tools.smali.dexlib2.Opcode
16
17
import com.android.tools.smali.dexlib2.iface.instruction.OneRegisterInstruction
17
18
import com.android.tools.smali.dexlib2.iface.reference.MethodReference
@@ -118,5 +119,8 @@ val spoofClientPatch = bytecodePatch(
118
119
"""
119
120
)
120
121
}
122
+
123
+ // Early return to block sending bad verdicts to the API.
124
+ standardIntegrityTokenProviderBuilderFingerprint.method.returnEarly()
121
125
}
122
126
}
You can’t perform that action at this time.
0 commit comments