1316 Commits

Author SHA1 Message Date
Adrian Ulrich
1fa2827744 Move in-memory LRU cache from CoverCache into LazyCoverView 2015-12-23 16:03:40 +01:00
Adrian Ulrich
26a59e0458 use setIconBitmap for MirrorLink as setIconUri crashes AndroidWear 2015-12-22 10:05:34 +01:00
Adrian Ulrich
f920096737 Use WEBP as on-disk format and increase ttl because reasons. 2015-12-21 18:31:34 +01:00
Adrian Ulrich
9740ff1c17 Change hash function to be less silly 2015-12-21 17:57:42 +01:00
Adrian Ulrich
6df61daf2e MirrorLink: do not pre-cache root 2015-12-21 17:30:06 +01:00
Adrian Ulrich
05c6f013d0 obey useHeadsetControls() 2015-12-21 12:56:17 +01:00
Adrian Ulrich
deb5637c17 Move button handling code to RemoteControl implementations 2015-12-20 22:01:11 +01:00
Adrian Ulrich
81c6527e73 Use new MediaSession API on 5.x 2015-12-20 16:37:56 +01:00
Adrian Ulrich
0e425b9198 Hide close button in notification if uncloseable 2015-12-18 13:05:19 +01:00
Adrian Ulrich
b42e923675 Option to ignore permanent audio focus loss 2015-12-14 11:05:00 +01:00
Adrian Ulrich
3265f119b2 target 1.0.35 2015-12-06 01:26:35 +01:00
Adrian Ulrich
5589f9eebc Fix ViewPager for API Level 15 (pre JB) 2015-12-05 12:20:45 +01:00
Adrian Ulrich
460be87aec add backup key 2015-11-17 12:06:20 +01:00
Adrian Ulrich
51c7cc6a37 update translations 2015-11-12 21:15:43 +01:00
Adrian Ulrich
939c59fe71 uset setDataSource(FileDescriptor) interface 2015-11-12 21:04:45 +01:00
Adrian Ulrich
cb6eb5c116 target 1.0.34 2015-11-09 10:25:27 +01:00
Adrian Ulrich
7f1136f689 Improve dispatching to external viewers
The context menu will now show an open option if dispatching makes sense (= would happen on click)
2015-11-09 10:18:39 +01:00
Adrian Ulrich
e0d57c35b9 improve disk cache ttl 2015-11-09 09:17:30 +01:00
Adrian Ulrich
9b39b1e944 Use nanoseconds to detect delayed callbacks 2015-11-08 15:55:01 +01:00
Adrian Ulrich
3459a421b5 Revert "Relex callback barrier"
This reverts commit 37527e17ccad94e5670583673da8987ede3285dd.
2015-11-08 15:08:02 +01:00
Adrian Ulrich
d2d3171095 Do not unregister MediaButtonReceiver onDestroy
Even after getting killed, we would still like to know about media button events
2015-11-08 13:40:52 +01:00
Adrian Ulrich
e7a9bb74c0 Improve genre hack 2015-11-08 13:22:09 +01:00
Adrian Ulrich
cb8debb2f4 Implement artists limiter
Set and used by the genre limiter
2015-11-07 11:52:58 +01:00
Adrian Ulrich
cb02b71bf4 Ability to filter artists by genre 2015-11-07 11:21:13 +01:00
Adrian Ulrich
37527e17cc Relex callback barrier
The PlaybackService will notify GUI elements about state changes.
However: These callbacks are async and the gui may already have updated its own state, so the code checks
for 'old' RPCs. This fails on fast devices, where click -> service -> state-change -> callback takes less than 1ms

The new code relexes this and accepts messages with the same timestamp
2015-11-04 13:04:12 +01:00
Adrian Ulrich
d42bd1c252 remove orphaned mEmptyQueue view 2015-11-04 12:30:33 +01:00
Adrian Ulrich
655d071901 Rewind songs 2015-11-04 10:38:16 +01:00
Adrian Ulrich
cce1727b8b allow passing 0 to timelines shiftCurrentSong 2015-11-03 15:31:06 +01:00
Adrian Ulrich
0cfd1c905c fix english 2015-11-03 13:47:16 +01:00
Adrian Ulrich
d5d0b23db4 Implement on-disk cache 2015-11-03 13:03:46 +01:00
Adrian Ulrich
36c63ff57a Save files tab position in settings
Fixes bug #241
2015-11-02 20:51:27 +01:00
Adrian Ulrich
2a3eb5f403 Beautify Android 6 permission request 2015-11-01 17:09:37 +01:00
Adrian Ulrich
93e9567830 Merge Pull Request #230 into master 2015-11-01 13:05:56 +01:00
Adrian Ulrich
d847e44071 add gratipay badge 2015-10-25 20:13:23 +01:00
Adrian Ulrich
08658e6464 Get rid of v4 compat versions as we are requiring api14 anyway 2015-10-25 14:41:46 +01:00
Adrian Ulrich
a52e5e828f Update support libs to marshmallow-release version 2015-10-25 13:27:05 +01:00
Adrian Ulrich
8174bd7c56 Merge pull request #237 from xbao/feature/remove-interface-member-modifiers
Remove unnecessary interface member modifiers
2015-10-25 13:12:51 +01:00
Adrian Ulrich
cf075463ca update readme 2015-10-25 13:12:05 +01:00
Adrian Ulrich
a1552370c6 Switch to SDK 23, support for Android 6 permissions model 2015-10-25 13:09:06 +01:00
Xiao Bao Clark
10a1975e09 Remove unnecessary interface member modifiers 2015-10-24 10:59:25 +11:00
Adrian Ulrich
eb7b5dd4de remove superfluent log import 2015-10-16 18:06:27 +02:00
Adrian Ulrich
1e39e50ee9 target 1.0.33 2015-10-16 17:54:51 +02:00
Adrian Ulrich
ac8bbd906b Update translations 2015-10-16 17:49:16 +02:00
Adrian Ulrich
a9d6e50ef4 Simplify shuffle logic
This will hopefully kill more bugs than creating new ones
2015-10-16 17:35:56 +02:00
Adrian Ulrich
2bcabb4aaa rewrite ReadaheadThread to use RPCs 2015-10-16 11:19:11 +02:00
Adrian Ulrich
f2d7cfda02 deprecate LazyCoverView.setup
We are now creating our own worker thread
2015-10-16 09:33:50 +02:00
Adrian Ulrich
617eb9e23b Make ShowQueueActivity a singleTask
No need to keep it a seperated instance: it can become an element of the library->fullplayback stack
2015-10-15 19:54:56 +02:00
Adrian Ulrich
687c099ba8 add missing import for api annotation 2015-10-15 08:41:18 +02:00
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