[bisq-network/bisq] Play silent sound to avoid standby mode (#1712)

Manfred Karrer notifications at github.com
Fri Sep 21 19:52:35 UTC 2018


Apple disabled options do avoid App Nap in recent OSX versions.
Playing an inaudible sound marks the application for preventing to get
set to standby mode as well as App Nap mode.
The alternative to that "hack" would be to add OSX native code, but
even then it is likely only possible to prevent App Nap but not
sleep mode.
If Bisq is in App Nap mode offers cannot be taken as well the user loses
network connection and offers.
See: https://github.com/bisq-network/bisq/issues/1701
You can view, comment on, or merge this pull request online at:

  https://github.com/bisq-network/bisq/pull/1712

-- Commit Summary --

  * Play silent sound to avoid standby mode

-- File Changes --

    M common/src/main/proto/pb.proto (1)
    M core/src/main/java/bisq/core/CoreModule.java (2)
    A core/src/main/java/bisq/core/app/AvoidStandbyMode.java (118)
    M core/src/main/java/bisq/core/user/Preferences.java (14)
    M core/src/main/java/bisq/core/user/PreferencesPayload.java (7)
    M core/src/main/resources/i18n/displayStrings.properties (1)
    A core/src/main/resources/silent.aiff (0)
    M desktop/src/main/java/bisq/desktop/app/BisqApp.java (3)
    M desktop/src/main/java/bisq/desktop/main/settings/preferences/PreferencesView.java (15)

-- Patch Links --

https://github.com/bisq-network/bisq/pull/1712.patch
https://github.com/bisq-network/bisq/pull/1712.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/1712
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20180921/c0c7f566/attachment.html>


More information about the bisq-github mailing list