| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: Ia76556d55e150142a3c1155126fb41ac12323c43
|
|
|
|
|
|
|
|
|
|
| |
Check whether an external app is passing a MediaStore.File or MediaStore.Audio.Media uri
and update the cursor according to that uri.
JIRA: CYAN-4437
Issue: https://jira.cyanogenmod.org/browse/CYAN-4437
Change-Id: Ib378be6c2906bf35a69a34a95a81d1f3f77f9cce
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
|
|
|
|
|
|
| |
PS5: fix a regression which causes a crash elsewhere.
Change-Id: Ib1464e8ca0e1f61533ce0b0cd172accc21c21ce0
Jira: CYAN-2839
|
|
|
|
|
|
|
|
| |
* Thread pool executor will reject additional tasks when it has
exhausted it's queue space causing Apollo to crash.
* Load default artwork if executor is too busy.
Change-Id: Ie25182ede0cfbd0ca8595dbb1f8c024a13a09d93
|
|
|
|
|
|
|
| |
* These settings were not being respected because the preference key was
wrong.
Change-Id: I2f6733b6de206a76ce1f6899beced36922653b05
|
|
|
|
|
|
|
|
|
|
| |
Starting playback of an album (or all songs by artist) is very useful.
My current use case is a music library smartwatch app,
like Peapod for Pebble 1.0 and iOS.
Relevant SO question: http://stackoverflow.com/q/15571153/239140
Change-Id: Id6026176436be3d207c7fbf150044adfc14258e2
|
|
|
|
|
|
|
| |
Handler only counts awake time, so we need to hold a wake lock while
having messages scheduled to it.
Change-Id: I01fae025830734758a704afaac452b61db3a13f4
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
Added a triple click for the headset button so that Apollo goes back to
the previous track.
Change-Id: I46b14136ec471673a4a139dc2f4b50ecacaccc1e
|
|/
|
|
|
|
|
|
| |
This should fix problem with repeating of a song after the resume
of playback service, when repeat mode was not applied to the
current song, but to a next song instead.
Change-Id: I765d69874aa082e1e48567a4e50a3d329be84f99
|
|
|
|
|
|
|
| |
Recents and Album frags shared same group id causing
NPE if trying to delete album (from Album frag) not in recents
Change-Id: I633591262e7147c1ed3a6789418d2e0c2c1f1003
|
|
|
|
| |
Change-Id: Ia9688d2022ba62df41829eca1e20abd3e4b6c093
|
|
|
|
| |
Change-Id: Ie0f2496ccb3ec4d849fc9751ac682fe3b916a6bb
|
|
|
|
|
|
|
| |
* In certain situations it may be possible to query the cursor
in a state where it has been closed and not yet re-opened.
Change-Id: I60b19624887bc8ef27b928105a07072e3e11f80b
|
|
|
|
| |
Change-Id: I714855aa1a170f6d00aa3ebb1a653b81e901fe8d
|
|
|
|
|
|
|
|
| |
each song on a playlist screen
PS2: Add missing comma in parameter of ProfileSongAdapter()
Change-Id: I49c9a5713284baff7365e5976034ac4682d0714a
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update ImageSize class.
Artist.getImages is deprecated now. Remove it
and use Artist.getInfo to load images for Artist.
Use default album size to EXTRALARGE.
Add a function to check album size and fallback to smaller
one if does not exists,
Change-Id: I40e3d5c60397a620057619dca1a7ea3e5839c7de
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Using the legacy call setPlaybackState(int) resets the position to
"unknown", therefore the new API has to be used for PLAYSTATE_CHANGED
as well.
It's also necessary to update the media position when the track has
changed as it doesn't trigger PLAYSTATE_CHANGED or POSITION_CHANGED.
The drift check would eventually correct this, but for some seconds
the position would be wrong.
Change-Id: I39c85c7092c36d0bbc4817de7e72654524d8336c
|
|
|
|
| |
Change-Id: I95d8ef63d30c5f7604a089bdcb70dc20d699fe05
|
|
|
|
| |
Change-Id: Id19cf0195495191d21ade048ef7dedfcb8565ba4
|
|
|
|
| |
Change-Id: I28239da3738ccb0d7675294971266e44fa2a3c5e
|
|
|
|
|
|
|
|
|
|
| |
Patchset 2: Remove unnecessary sleep
Patchset 3: Revert original comment
Change-Id: I1594e2001bdfef282d010399e70f1f0066ec4c06
JIRA: CYAN-1996
Issue: https://jira.cyanogenmod.org/browse/CYAN-1996
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
|
|
|
|
|
|
|
|
| |
- Add a 'play next' item to song context menu
- Replace 'add to queue' by 'remove from queue' item in queue context
menu
Change-Id: I7ce2af040fdf823b025237518bf4ccc063812777
|
|
|
|
|
|
|
|
|
|
|
|
| |
If you change the queue for the next track mediaplayer don't gets reinitialized.
This means the next song which is played is actually the one queued before change of queue.
PS2: Only setNextTrack if Service is actually playing at the moment.
PS3: Whitespace fix
PS4: Remove last track in queue case included. Space fixed
Change-Id: I9ddd762d3c42815e7b365f6a5c4b124f5d940a5a
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Also add album artist to remote control data.
Change-Id: Ia7da61a968abc12b914b22f0111a4adce12a744d
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| | |
After introducing of DeleteDialogCallback it is safe
to remove songs from queue.
Change-Id: Ifa6c39312244413801a5d5628f1d5251b27ee147
|
|/
|
|
|
|
|
|
|
|
|
|
| |
It may happen that two (or more) albums have the same name but each of them
comes from different artist. This case was not handled correctly causing with
the same album art to be used for all albums.
This patch makes sure that the proper album data is fetched for album. It's
achieved by either adding album artist (i.e., for cached images) or using
album id (unique) where possible (not causing too much code churn).
Change-Id: I181a28d80a18207101c613cca390f18d88dd556a
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I8fad766ebba53bf37d8f965761e9da4ca4fafb87
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Change-Id: I2f5aa9d0f799395b967906c9fc9677a80ab18e8f
|
|\| |
| | |
| | |
| | | |
two." into cm-10.1
|
| |/
| |
| |
| |
| |
| |
| |
| | |
Also make sure to release the audio focus when removing the notification
due to being idle in order to remove the play controls from the
lockscreen.
Change-Id: I323db520ce107235ebe774109d0a3338688328b4
|
|/
|
|
|
|
|
|
| |
Some artist has albums splitted into 2 parts with same name
and in Apollo when we clicking on both albums we will get into
Profile activity with first part of album.
Change-Id: I96d5e7ee3ce0a04c708d1d8941096aaf942a25e3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This will avoid nex crash:
FATAL EXCEPTION: main
java.lang.IllegalArgumentException: the bind value at index 1 is null
at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:167)
at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:137)
at android.content.ContentProviderProxy.query(ContentProviderNative.java:366)
at android.content.ContentResolver.query(ContentResolver.java:372)
at android.content.ContentResolver.query(ContentResolver.java:315)
at com.andrew.apollo.utils.MusicUtils.getIdForPlaylist(MusicUtils.java:669)
at com.andrew.apollo.utils.MusicUtils.makePlaylistMenu(MusicUtils.java:1146)
at com.andrew.apollo.ui.fragments.QueueFragment.onCreateContextMenu(QueueFragment.java:215)
Change-Id: Ib60a55f54fedf18cf900c6e492c5b4135e5c86d8
|
|
|
|
| |
Change-Id: I073afea4845958d0691687771c681c2e0900053e
|
|\
| |
| |
| | |
button intent." into cm-10.1
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
button intent.
Also make sure to properly remove it when music is stopped with screen
of (e.g. when playing via BT): As handlers only count non-sleep times,
we have to use the alarm manager in order to make sure the notification
is removed after 1 minute.
JIRA: CYAN-1067
Change-Id: I87a5328e5116d199e2f62119f5a76eca73a3ee4e
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This makes us not start playback when we get a 'play' media button event
in the middle of a call for whatever reason.
JIRA:CYAN-1067
Change-Id: If648da95c10716400eeba0b39a24213764370f7a
|
| |/
|/|
| |
| | |
Change-Id: I8ebb71e32191b79f08cfa9c72fab311048992fe8
|
|/
|
|
|
|
|
|
| |
In API level 18 the RCC will also be used for AVRCP 1.3 metadata, which
we certainly want to support. The decision whether to show the music
controls in the keyguard should be done at the framework level.
Change-Id: Ia17f9094231f3a76d1496ddf2ef2d90b2d4d9512
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I3a4be1d2eec159f47adcd9d7e9dae529ba1dbf35
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| | |
Make them cope with larger-than-usual font sizes, and simplify them in
the process.
Change-Id: Iee42b68bb9907838b6c933f046503aacb8259daf
JIRA:CYAN-779
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| | |
When the image fetcher tasks are paused, adding new tasks can lead to
thread pool overflow. Avoid adding new tasks in that case.
Change-Id: I5b97ab8bd204b22af7eb57c388e2bb2796cde193
JIRA:MC-1
|