-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This change substitutes use of memory efficient, OS supplied sleep/suspend inhibitor utilties for the silent audio file player on Linux, merges OSXStandbyModeDisabler functionality into AvoidStandyModeService, and removes that class. This change also stops Bisq from running the audio file on OSX; it is currently running both caffeinate and the silent audio file, and the avoid standby mode button in the the OSX settings view is currently toggling the audio player on and off, but not caffeinate. (The only way to shut down caffeinate is by shutting down Bisq.) The OSX avoid standby mode button button has not been hidden so a cached 'do not avoid standby mode' preference does not leave the user stuck without a caffeinate service the next time they start Bisq. (They can use it to turn caffeinate on, but it can't be used to turn it off without shutting down Bisq too.) The avoid standy mode button is now displayed on Linux because the native inhibitor can be toggled on and off. There is no change to the avoid shutdown service on Windows and Unix.
- Loading branch information
Showing
5 changed files
with
141 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 0 additions & 27 deletions
27
core/src/main/java/bisq/core/app/OSXStandbyModeDisabler.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters