1263 Commits

Author SHA1 Message Date
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
a36c2dfcce Update README.md
updated readme
2015-10-11 18:17:34 +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
Adrian Ulrich
c550e66077 Merge pull request #221 from xbao/feature/revert-dslv-fix-7835436a
Revert "Attempt to fix #113"
2015-10-09 07:55:27 +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
806e74eba1 rename shake_pref into seekbar_pref 2015-10-05 11:44:07 +02:00
Adrian Ulrich
830db1a519 restyle shake_pref 2015-10-05 11:37:03 +02:00
Adrian Ulrich
79048e7619 Configure SeekbarPreference via attr 2015-10-05 10:45:15 +02:00
Adrian Ulrich
85a8d0d4ed update changelog 2015-10-04 16:34:28 +02:00
Adrian Ulrich
18f5e8a849 Dispatch text and image files to external viewers 2015-10-04 16:32:30 +02:00
Adrian Ulrich
ad4fa0a9d2 Add a hint to queue pos
This forces android to create the text-view with a size wide enough to fit '00/00' in it.
Without this, we might end up with a smaller view which gets truncated if the text to display
switches from 9/10 to 10/10
2015-10-04 15:15:50 +02:00
Adrian Ulrich
bf80c21588 use preferences_action_ strings 2015-10-04 14:32:56 +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
103d78f075 target 1.0.32 2015-09-27 13:28:36 +02:00
Adrian Ulrich
a1be0e10e4 Update translations 2015-09-27 13:18:51 +02: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
Adrian Ulrich
814e21f05f Merge pull request #211 from xbao/feature/202-dslv-crash
DragSortController: Check for null MotionEvent arguments (#202)
2015-09-27 13:11:13 +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
776385e6e2 change row dimensions from dip to sp
sp is a scaleable dimension and respects the user font size
2015-09-14 20:46:46 +02:00