fix: sony sound connect

This commit is contained in:
drobotk 2026-02-24 22:56:10 +01:00
parent 547657109b
commit 9eb35aeebd
No known key found for this signature in database
GPG key ID: 4B532DAB8340742C

View file

@ -23,7 +23,11 @@ internal val BytecodePatchContext.createTabsMethod by gettingFirstMethodDeclarat
internal val BytecodePatchContext.showNotificationMethod by gettingFirstMethodDeclaratively {
accessFlags(AccessFlags.PUBLIC)
returnType("V")
instructions(method { MethodUtil.methodSignaturesMatch(this, expectedReference) })
instructions(method {
definingClass == expectedReference.definingClass
&& parameterTypes == expectedReference.parameterTypes
&& returnType == expectedReference.returnType
})
}
internal val expectedReference = ImmutableMethodReference(