fix(Spotify - Unlock Spotify Premium): Remove restrictions for Google voice assistant (#4702)
Co-authored-by: LisoUseInAIKyrios <118716522+LisoUseInAIKyrios@users.noreply.github.com> Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>
This commit is contained in:
parent
0f3aeb35e5
commit
d573386e0f
1 changed files with 21 additions and 0 deletions
|
|
@ -35,6 +35,27 @@ internal val contextMenuExperimentsFingerprint = fingerprint {
|
||||||
strings("remove_ads_upsell_enabled")
|
strings("remove_ads_upsell_enabled")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
internal val contextFromJsonFingerprint = fingerprint {
|
||||||
|
opcodes(
|
||||||
|
Opcode.INVOKE_STATIC,
|
||||||
|
Opcode.MOVE_RESULT_OBJECT,
|
||||||
|
Opcode.INVOKE_VIRTUAL,
|
||||||
|
Opcode.MOVE_RESULT_OBJECT,
|
||||||
|
Opcode.INVOKE_STATIC
|
||||||
|
)
|
||||||
|
custom { methodDef, classDef ->
|
||||||
|
methodDef.name == "fromJson" &&
|
||||||
|
classDef.endsWith("voiceassistants/playermodels/ContextJsonAdapter;")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
internal val readPlayerOptionOverridesFingerprint = fingerprint {
|
||||||
|
custom { methodDef, classDef ->
|
||||||
|
methodDef.name == "readPlayerOptionOverrides" &&
|
||||||
|
classDef.endsWith("voiceassistants/playermodels/PreparePlayOptionsJsonAdapter;")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
internal val homeSectionFingerprint = fingerprint {
|
internal val homeSectionFingerprint = fingerprint {
|
||||||
custom { _, classDef -> classDef.endsWith("homeapi/proto/Section;") }
|
custom { _, classDef -> classDef.endsWith("homeapi/proto/Section;") }
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue