diff options
author | Scott Jackson <daneren2005@gmail.com> | 2015-08-21 18:25:56 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2015-08-21 18:25:56 -0700 |
commit | 02b36893c20205cea6d09260f916eac4c5044d30 (patch) | |
tree | e081d251ea7d195b623e9af336ad3a68fef7b270 /app | |
parent | c777c62aea3a7b251e8f6c907a60ebf35ddbb8c8 (diff) | |
download | dsub-02b36893c20205cea6d09260f916eac4c5044d30.tar.gz dsub-02b36893c20205cea6d09260f916eac4c5044d30.tar.bz2 dsub-02b36893c20205cea6d09260f916eac4c5044d30.zip |
Correctly handle if we are both paused and lowered (separate duck and loss events)
Diffstat (limited to 'app')
-rw-r--r-- | app/src/main/java/github/daneren2005/dsub/util/Util.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/src/main/java/github/daneren2005/dsub/util/Util.java b/app/src/main/java/github/daneren2005/dsub/util/Util.java index ff962488..61d644c3 100644 --- a/app/src/main/java/github/daneren2005/dsub/util/Util.java +++ b/app/src/main/java/github/daneren2005/dsub/util/Util.java @@ -1267,7 +1267,8 @@ public final class Util { if(pauseFocus) { pauseFocus = false; downloadService.start(); - } else if(lowerFocus) { + } + if(lowerFocus) { lowerFocus = false; downloadService.setVolume(1.0f); } |