mirror of
https://github.com/revanced/revanced-patches
synced 2024-12-28 14:55:50 +01:00
fix touch interaction sound when automatically exiting fullscreen
This commit is contained in:
parent
53e93da938
commit
fbf07cfc96
@ -49,7 +49,10 @@ public class ExitFullscreenPatch {
|
||||
Logger.printDebug(() -> "Fullscreen button is null, cannot click");
|
||||
} else {
|
||||
Logger.printDebug(() -> "Clicking fullscreen button");
|
||||
final boolean soundEffectsEnabled = button.isSoundEffectsEnabled();
|
||||
button.setSoundEffectsEnabled(false);
|
||||
button.performClick();
|
||||
button.setSoundEffectsEnabled(soundEffectsEnabled);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user