mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-05-04 00:24:34 +02:00
feat(music/enable-sleep-timer): forcibly disable when the switch is off
This commit is contained in:
parent
30b4ae71fd
commit
00a36941f3
@ -37,7 +37,7 @@ class SleepTimerPatch : BytecodePatch(
|
|||||||
|
|
||||||
addInstructions(
|
addInstructions(
|
||||||
insertIndex, """
|
insertIndex, """
|
||||||
invoke-static {v$targetRegister}, $MUSIC_LAYOUT->enableSleepTimer(Z)Z
|
invoke-static {}, $MUSIC_LAYOUT->enableSleepTimer()Z
|
||||||
move-result v$targetRegister
|
move-result v$targetRegister
|
||||||
"""
|
"""
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user