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