OSDN Git Service

Eleven: Make fastforward/rewind more reliable
authorlinus_lee <llee@cyngn.com>
Tue, 28 Oct 2014 01:30:24 +0000 (18:30 -0700)
committerlinus_lee <llee@cyngn.com>
Thu, 20 Nov 2014 20:51:35 +0000 (12:51 -0800)
commitc0c2c9268aa7049191f7b2f05e158745f7c1da2d
tree64a704a1a7326ea9e6e8aeaad708378806bb0edb
parentf54d05feef83b25e4989cf27c564c4edd4b94b80
Eleven: Make fastforward/rewind more reliable

Part of the logic was in the ui to control the fastforward/rewind
when there is no need, and the asynchronisity of it was causing problems.
This moves the logic for seeking all into the service so that the ui only
tells the service that it should rewind/fastforward, and by how much

https://cyanogen.atlassian.net/browse/MUSIC-167

Change-Id: Id7623a1a755c7b1346874bdcf64126123eafc7d1
src/com/cyngn/eleven/IElevenService.aidl
src/com/cyngn/eleven/MusicPlaybackService.java
src/com/cyngn/eleven/ui/fragments/AudioPlayerFragment.java
src/com/cyngn/eleven/utils/MusicUtils.java