fix(Spotify - Sanitize sharing links): Update patch to latest app versions (#6685)
This commit is contained in:
parent
ed9f191a2e
commit
bb7448bc9d
1 changed files with 1 additions and 3 deletions
|
|
@ -2,7 +2,6 @@ package app.revanced.patches.spotify.misc.privacy
|
||||||
|
|
||||||
import app.revanced.patcher.*
|
import app.revanced.patcher.*
|
||||||
import app.revanced.patcher.patch.BytecodePatchContext
|
import app.revanced.patcher.patch.BytecodePatchContext
|
||||||
import app.revanced.util.literal
|
|
||||||
import com.android.tools.smali.dexlib2.AccessFlags
|
import com.android.tools.smali.dexlib2.AccessFlags
|
||||||
import com.android.tools.smali.dexlib2.Opcode
|
import com.android.tools.smali.dexlib2.Opcode
|
||||||
|
|
||||||
|
|
@ -28,13 +27,12 @@ internal val BytecodePatchContext.formatAndroidShareSheetUrlMethod by gettingFir
|
||||||
returnType("Ljava/lang/String;")
|
returnType("Ljava/lang/String;")
|
||||||
parameterTypes("L", "Ljava/lang/String;")
|
parameterTypes("L", "Ljava/lang/String;")
|
||||||
opcodes(
|
opcodes(
|
||||||
Opcode.GOTO,
|
|
||||||
Opcode.IF_EQZ,
|
Opcode.IF_EQZ,
|
||||||
Opcode.INVOKE_STATIC,
|
Opcode.INVOKE_STATIC,
|
||||||
Opcode.MOVE_RESULT_OBJECT,
|
Opcode.MOVE_RESULT_OBJECT,
|
||||||
Opcode.RETURN_OBJECT,
|
Opcode.RETURN_OBJECT,
|
||||||
)
|
)
|
||||||
literal { '\n'.code.toLong() }
|
instructions('\n'.code.toLong()())
|
||||||
}
|
}
|
||||||
|
|
||||||
internal val BytecodePatchContext.oldFormatAndroidShareSheetUrlMethod by gettingFirstMethodDeclaratively {
|
internal val BytecodePatchContext.oldFormatAndroidShareSheetUrlMethod by gettingFirstMethodDeclaratively {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue