mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-06-13 05:37:40 +02:00
fix: subscribe notification button not showing
This commit is contained in:
@ -13,5 +13,5 @@ object PrimaryPiPFingerprint : MethodFingerprint(
|
|||||||
Opcode.CHECK_CAST,
|
Opcode.CHECK_CAST,
|
||||||
Opcode.IGET_OBJECT
|
Opcode.IGET_OBJECT
|
||||||
),
|
),
|
||||||
strings = listOf("OnYpcTransactionListener")
|
strings = listOf("honeycomb.Shell\$HomeActivity")
|
||||||
)
|
)
|
@ -28,7 +28,8 @@ class PiPNotificationBytecodePatch : BytecodePatch(
|
|||||||
).map {
|
).map {
|
||||||
it.result ?: return it.toErrorResult()
|
it.result ?: return it.toErrorResult()
|
||||||
}.forEach { result ->
|
}.forEach { result ->
|
||||||
result.mutableMethod.addInstruction(0, "return-void")
|
val index = result.scanResult.patternScanResult!!.startIndex + 1
|
||||||
|
result.mutableMethod.addInstruction(index, "return-void")
|
||||||
}
|
}
|
||||||
|
|
||||||
return PatchResultSuccess()
|
return PatchResultSuccess()
|
||||||
|
Reference in New Issue
Block a user