Commit [33b46c] Maximize Restore History

Work around race in service disconnection

When the player client disconnects, the service should be allowed to
release the module. Disconnection can be fully asynchronous so add a
timeout counter of 2s to allow module release even if the client doesn't
allow it (because it disconnected).

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>

Claudio Matsuoka Claudio Matsuoka 2014-05-25

changed src
changed src/org
changed src/org/helllabs
changed src/org/helllabs/android
changed src/org/helllabs/android/xmp
changed src/org/helllabs/android/xmp/player
changed src/org/helllabs/android/xmp/player/PlayerActivity.java
changed src/org/helllabs/android/xmp/service
changed src/org/helllabs/android/xmp/service/PlayerService.java
src
Directory.
src/org
Directory.
src/org/helllabs
Directory.
src/org/helllabs/android/xmp/player/PlayerActivity.java Diff Switch to side-by-side view
Loading...
src/org/helllabs/android/xmp/service/PlayerService.java Diff Switch to side-by-side view
Loading...