1244 Commits

Author SHA1 Message Date
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
Adrian Ulrich
3cfb1633fb improve handling of AudioManager.AUDIOFOCUS_LOSS_TRANSIENT 2015-09-14 20:24:07 +02:00
Adrian Ulrich
61bcb9857a Add distinct translation for some keys, see PR 189 2015-09-14 19:50:03 +02:00
Adrian Ulrich
4e56d72664 Merge pull request #204 from abn-volk/master
Add Vietnamese translation
2015-09-14 18:58:17 +02:00
Phạm Nguyễn Hoàng
43712060d5 Add Vietnamese translation 2015-09-13 23:53:16 +07:00
Phạm Nguyễn Hoàng
7bfc9d338f Create translatable.xml 2015-09-13 22:36:36 +07: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
Adrian Ulrich
cbcea01b25 add xiao to list of contributors, and sort() 2015-08-30 15:14:02 +02:00
Adrian Ulrich
73233751b3 Merge pull request #197 from xbao/feature/duck-on-notification
Added support for ducking
2015-08-30 15:11:03 +02:00
Adrian Ulrich
87d2dd7544 make replaygain note translatable 2015-08-30 14:25:06 +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
757c0a5e85 Configured source and target language to Java 1.5 for gradle builds 2015-08-29 08:57:51 +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
Adrian Ulrich
ee83acdef6 update translations for 1.0.31 2015-08-23 16:37:46 +02:00
Xiao Bao Clark
ea9302aa0a Added ducking volume as a preference 2015-08-23 09:38:09 +10:00
Adrian Ulrich
0dc422a37b Merge pull request #195 from xbao/bug/swipe-up-toggle-controls-broken
Added performAction in PlaybackActivity.
2015-08-22 10:16:48 +02:00
Adrian Ulrich
9cc91787c0 Merge pull request #192 from xbao/feature/static_analysis_fixes
static analysis fixes
2015-08-22 10:14:55 +02:00