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
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
Xiao Bao Clark
2c7a9d53cd
Added support for ducking ( #45 )
2015-08-22 12:28:11 +10:00
Xiao Bao Clark
e7075936fd
Added performAction in PlaybackActivity. Made performAction in FullPlaybackActivity override it.
...
This fixes the bug #44 where swipe up/down was not toggling controls when that preference was set
2015-08-22 10:17:18 +10:00
Xiao Bao Clark
d413384f90
Added TargetApi to setNextMediaPlayer per #185 . This fixes a lint error
2015-08-22 09:34:06 +10:00
Xiao Bao Clark
522a58b068
Suppressed lint for call to setSelectionFromTop as it is in error. Added explanatory comments to that effect
2015-08-22 09:33:08 +10:00
Xiao Bao Clark
c9036ce45c
Fixed two JavaDoc params references
2015-08-22 08:31:26 +10:00
Xiao Bao Clark
45879c571a
Merge branch 'master' into feature/static_analysis_fixes
2015-08-22 07:55:43 +10:00
Xiao Bao Clark
b9ad4c8a80
Reverted changes to DSLV to keep consistency with upstream DSLV source
2015-08-22 07:48:43 +10:00
Adrian Ulrich
d910266b24
use 300 as max value for shake threshold
2015-08-19 20:18:27 +02:00
Adrian Ulrich
de4b15f4ab
work around for lockscreen bugs
2015-08-19 19:46:25 +02:00
Adrian Ulrich
06f98f1c55
generate fallback cover for any style excluding OVERLAPPING_BOX
2015-08-19 19:04:03 +02:00
Adrian Ulrich
84ca87d6c1
fade-in created bitmaps
2015-08-16 11:04:50 +02:00
Adrian Ulrich
27143fda86
add showqueue option to library view
2015-08-16 11:00:25 +02:00
Adrian Ulrich
15e13b1c42
LibraryActivity: Fetch cover in background thread
2015-08-15 20:19:08 +02:00
Adrian Ulrich
cf5fbb2dba
only return data for items we have data
2015-08-14 19:40:05 +02:00
Adrian Ulrich
c44395757e
fix dbh leak in playcounts helper
2015-08-14 19:02:22 +02:00
Adrian Ulrich
5bf72d1c57
prefix all message constants with MSG_
2015-08-14 17:52:38 +02:00
Adrian Ulrich
07ccab3616
update playcounts in background thread
2015-08-14 17:46:26 +02:00
Adrian Ulrich
fb2608277a
never return coverart for unindexed songs (eg: missing album key!)
2015-08-14 10:05:18 +02:00
Adrian Ulrich
a6df47be4d
move covermodes into cover cache
2015-08-12 17:48:04 +02:00
Adrian Ulrich
0bf219e3ba
move all cover caches into CoverCache class
2015-08-12 17:31:13 +02:00
Adrian Ulrich
f407c89a34
always update mCover visibility
2015-08-11 14:32:34 +02:00
Adrian Ulrich
bd77ac3b5d
simplify use of draggable row
2015-08-11 13:41:37 +02:00
Adrian Ulrich
ea88a0ac17
enable flingRemove in playlist editor
2015-08-10 21:02:11 +02:00
Adrian Ulrich
0f1c7a6da9
change DSLV usage
2015-08-10 20:54:19 +02:00