Adrian Ulrich
63700898bf
set target api to 21 for mirrorlink
2015-10-14 21:09:09 +02:00
Adrian Ulrich
c5d3bc51dc
fix crash while searching on a genre limiter
...
The old regexp failed to prefix cols in such a query:
> .... AND artist_key||album_key||title_key LIKE ?)
We fix this by including the pipe character and matching words (instead of non-spaces)
2015-10-13 21:54:39 +02:00
Adrian Ulrich
0338b49e41
inherit colors from theme for info-below-cover view
2015-10-12 17:53:40 +02:00
Adrian Ulrich
2676ad1a3c
Get rid of gingerbread icons
...
Icon sources:
* Note: http://publicdomainvectors.org/en/free-clipart/Eighth-Note-with-stem-facing-up-vector-image/10187.html
* Microphone: http://publicdomainvectors.org/en/free-clipart/Microphone-vector-icon/12833.html
* Disk: self-drawn
2015-10-12 17:29:00 +02:00
Adrian Ulrich
7f1f5c0cdd
option to disable artwork on lockscreen
2015-10-12 14:24:49 +02:00
Adrian Ulrich
8c0b72e323
Last batch of PrefDefaults changes
2015-10-12 14:04:27 +02:00
Adrian Ulrich
2a803608ec
Add more defaults to PrefDefaults class
2015-10-12 13:52:13 +02:00
Adrian Ulrich
e1e46c5da7
add PrefDefaults class and move a good chunk of default values to it
2015-10-12 10:12:59 +02:00
Adrian Ulrich
48150c9406
set mPendingSongLimiter for genres
2015-10-09 21:37:03 +02:00
Adrian Ulrich
908420792e
songs sorting: order does not affect track column
2015-10-09 21:30:33 +02:00
Adrian Ulrich
1352f9288a
improve genre limiter
2015-10-09 20:45:58 +02:00
Xiao Bao Clark
4df8ce0942
Revert "Attempt to fix #113 "
...
This reverts commit 7835436a3553f36e6457f8900ac9a5763b2bfbec.
Commit 7835436a attempted to fix the rare DSLV crash described in #113
by passing all touch events to the gesture detector. This includes
touches that occur when the drag is disabled or the list view wants to
intercept the event, and so is marginally undesirable. Also a factor is
that the DSLV code is taken from a third-party project, and so should be
kept as consistent as possible with upstream.
The attempt appears to not have worked, so a more direct workaround was
implemented in commit 4556d50ed, making 7835436a redundant. This commit
reverts 7835436a.
2015-10-09 07:58:53 +11:00
Adrian Ulrich
6f795a97c4
replace hardcoded is_music by constant from SDK
2015-10-07 21:42:49 +02:00
Adrian Ulrich
f3c9678287
Improve reading corrupted state files
...
Zero-out invalid shuffle and finish modes
2015-10-07 21:11:13 +02:00
Adrian Ulrich
305a7c1823
Change how unfilled songs are handled
...
* Remove code checks for -1 and path == null, it's the job of the
creator of a Song object to not inject unfilled songs into the timeline
2015-10-07 21:10:02 +02:00
Adrian Ulrich
c7653c7051
get rid of sRandomCache
2015-10-07 16:20:43 +02:00
Adrian Ulrich
c8bc3705e3
support content:// scheme
2015-10-07 09:56:13 +02:00
Adrian Ulrich
ff8a751108
add isEmpty() implementation
2015-10-07 09:44:40 +02:00
Adrian Ulrich
052365c872
Add isEmpty() call to Song
2015-10-07 09:40:58 +02:00
Adrian Ulrich
e4855e51eb
Set artist and album
2015-10-06 22:21:18 +02:00
Adrian Ulrich
9de67792c7
automatic playlist creation support
2015-10-05 21:27:59 +02:00
Adrian Ulrich
3746a58767
SeekbarPref: support dummy text for zero-values
2015-10-05 20:56:04 +02:00
Adrian Ulrich
bcd400ef00
support for sbpSteps value
2015-10-05 20:50:26 +02:00
Adrian Ulrich
a04aa57f7a
call requestLayout() on mQueuePosView
...
Seems to fix the issue on Android 5.x, so we can get rid of the hint-hack
2015-10-05 20:35:48 +02:00
Adrian Ulrich
1ede004545
change divider attr to multiplication
2015-10-05 20:28:01 +02:00
Adrian Ulrich
d4f17d2c9a
Add vanillaplug option to preferences
2015-10-05 20:04:39 +02:00
Adrian Ulrich
bfea91f7cf
use seekbar_pref for IdlePreference
2015-10-05 11:56:01 +02:00
Adrian Ulrich
79048e7619
Configure SeekbarPreference via attr
2015-10-05 10:45:15 +02:00
Adrian Ulrich
18f5e8a849
Dispatch text and image files to external viewers
2015-10-04 16:32:30 +02:00
Adrian Ulrich
d92f01d01f
Hide remote-control artwork if notification is not forced
...
This fixes stuck artwork on some motorola (only?) devices
2015-10-03 08:52:28 +02:00
Adrian Ulrich
7699dd49e8
Merge pull request #216 from lcremmer/MirrorLinkMediaBrowserService
...
Fixed in car multimedia handling
2015-10-03 08:50:55 +02:00
Adrian Ulrich
7eaa37d97c
beautify notification updates
2015-10-01 22:28:50 +02:00
Laurent Cremmer
5ab0a034a2
Fixed in car multimedia handling
2015-10-01 17:28:38 +01:00
Adrian Ulrich
88296dbeb2
Merge pull request #210 from lcremmer/MirrorLinkMediaBrowserService
...
Add In-Car Listening possible through MirrorLink using the MediaBrows…
2015-09-27 13:13:50 +02:00
Adrian Ulrich
f492ba327c
Merge pull request #213 from alex73/master
...
Missed constant usage
2015-09-27 13:12:49 +02:00
Aleś Bułojčyk
6b14cff33a
Missed constant usage
2015-09-27 00:42:23 +03:00
Xiao Bao Clark
4556d50eda
DragSortController: Check for null MotionEvent arguments ( #202 )
...
This fixes a rare crash on Samsung Galaxy S6 devices. The null arguments
appear to be caused by the GestureDetector not receiving an ACTION_DOWN
event before receiving an ACTION_MOVE event.
As we are unable to reproduce it, this commit work around the issue. It
might cause some scrolling issues in the cases that cause the issue, but
better than crashing.
2015-09-26 10:13:16 +10:00
Laurent Cremmer
62524510c4
Add In-Car Listening possible through MirrorLink using the MediaBrowserService
2015-09-23 16:55:25 +01:00
Adrian Ulrich
83c037d1de
Save scrolling position in LRU cache
2015-09-23 09:33:47 +02:00
Adrian Ulrich
1d9cc03105
Allow the MediaAdapter to be used without an activity
2015-09-23 09:29:48 +02:00
Adrian Ulrich
435bab2000
bugfix: clear stale icon if queue is fluhed
2015-09-20 18:13:41 +02:00
Adrian Ulrich
fd3b4c152a
Fix a crash bug due to mCurrentSong == null
...
This happens if:
* Notification is set to always
* The user empties the queue
This causes activeSongReplaced() to be called, so setCurrentSong(0); will be executed while mCurrentSong is already null.
Updating the notification in this state crashes with a null pointer.
However: The 'dangling' notification will have wrong information in this state - but it is still better than displaying an empty one as it just looks butt ugly.
We whould probably, at some point, design an 'empty notification view'
2015-09-16 19:48:54 +02:00
Adrian Ulrich
954734de05
unplugging the headset is a permanent audio loss
2015-09-16 19:15:05 +02:00
Adrian Ulrich
3cfb1633fb
improve handling of AudioManager.AUDIOFOCUS_LOSS_TRANSIENT
2015-09-14 20:24:07 +02:00
Adrian Ulrich
5fe5308d6c
Shrink queue during getSong() call and call change().
...
This ensures that the ShowQueueAdapter gets notified about the change
2015-09-12 11:56:20 +02:00
Adrian Ulrich
8c482214ec
Fix superfluent call to setCurrentSong();
...
This is now handled by the broadcast issued from setCurrentQueuePosition()
2015-09-12 11:40:59 +02:00
Adrian Ulrich
c0d1cdcb6c
setCurrentQueuePosition should broadcast song changes
2015-09-12 11:24:53 +02:00
Adrian Ulrich
7db6ced8ea
add enqueue_as_next to playlist item actions
2015-09-07 19:02:00 +02:00
Xiao Bao Clark
eca9d4a00a
Merge branch 'master' into feature/duck-on-notification
2015-08-29 09:01:30 +10:00
Xiao Bao Clark
f73bd0fdde
Applied ducking state to prepared media play. Renamed *OnVolume to *OnDucking for consistency. Added is-playing check before initiating ducking. Replaced switch on String to if else for source compatability.
2015-08-29 08:55:13 +10:00