OSDN Git Service

Fix Issue 5547: Apollo will not play MP3 files when using Root Explorer
authorJorge Ruesga <jorge@ruesga.com>
Fri, 20 Jul 2012 22:56:44 +0000 (00:56 +0200)
committerGerrit Code Review <gerrit@review.cyanogenmod.com>
Sun, 19 Aug 2012 10:09:06 +0000 (14:09 +0400)
commitac3dbb0caca83960777dc9fd15ba6a66685c1c4f
treeef67eecd1e71a6b5ae1832e80d6d04106f31ceef
parentae94fda66aade0bdfc35cdb36edd3529d3c5b24e
Fix Issue 5547: Apollo will not play MP3 files when using Root Explorer

Apollo doesn't have an activity registered for support "file" schemas, that are used by file
managers when using the method setDataAndType of Intent class.

This changes adds a new activity (PlayExternal) that registers this kind of schema, and pass
the request to AudioPlayerHolder. Allow direct play the file, or enqueue in the current track list

Patch 2: Remove trailing white-spaces
         Rename removeAllTrack to removeAllTracks

Change-Id: I25b728700bd0d2d58d31e4de4bed81ee3e368e0a
AndroidManifest.xml
res/values/strings.xml
res/values/styles.xml
src/com/andrew/apollo/IApolloService.aidl
src/com/andrew/apollo/activities/AudioPlayerHolder.java
src/com/andrew/apollo/activities/PlayExternal.java [new file with mode: 0755]
src/com/andrew/apollo/adapters/PagerAdapter.java
src/com/andrew/apollo/list/fragments/TracksFragment.java
src/com/andrew/apollo/service/ApolloService.java
src/com/andrew/apollo/utils/MusicUtils.java
src/com/andrew/apollo/utils/RefreshableFragment.java [new file with mode: 0644]