Adrian Ulrich
0140627c46
Update translations
2017-09-07 21:36:08 +02:00
Adrian Ulrich
073896639a
Revert cab1dc8fdd6235d1ade4733a627b870187190806 (while fixing conflicts).
...
The majority of people do not seem to like this feature, so lets go back to our old behaviour.
2017-09-07 21:31:20 +02:00
Adrian Ulrich
65fc2929b6
Fix ghost-seeks.
...
The pending seek info loaded from the state may not be used if the user hits < or > to restore the playback service.
If we keep the seek around, we would do an unexpected seek if we ever reach the saved song, which is not what we want.
2017-09-07 21:23:59 +02:00
Adrian Ulrich
674a34d6c2
Use startForegroundService on O for headset events.
...
The activity hack doesn't really work as it closes vanilla music if we receive an event while one of our activities is visible.
2017-09-07 21:13:02 +02:00
Adrian Ulrich
a3847edd70
Use ShortcutPseudoActivity.getIntent() in widgets.
2017-09-06 22:04:18 +02:00
Adrian Ulrich
a364b5b885
Use ShortcutPseudoActivity for headset events.
...
This works on Android 8 without calling startForegroundService() - ¯\_(ツ)_/¯
2017-09-06 21:55:14 +02:00
Adrian Ulrich
b79dfc49ba
Reduce notification visibility modes to when_playing and always.
...
The NEVER didn't really work well since 5.x (we were more likely to get killed) and is broken on 8.x, so we just get rid of it.
2017-09-06 21:37:26 +02:00
Adrian Ulrich
0030c1777e
Revert "enable signing via gradle"
...
This reverts commit ddd79a00ed6b4ae6e7ca1cb2fddb269db5fb4f99.
2017-09-03 16:11:02 +02:00
Adrian Ulrich
556c0e82b5
Update translations
2017-09-03 16:01:57 +02:00
Adrian Ulrich
ddd79a00ed
enable signing via gradle
2017-09-03 15:59:17 +02:00
Adrian Ulrich
59e98546c9
Unregister contentObserver while PlaybackService gets destroyed.
2017-09-03 15:30:03 +02:00
Adrian Ulrich
2808735a17
Set notification importance on Android 8 to LOW.
...
All > levels produces sound.
2017-09-03 14:50:49 +02:00
Adrian Ulrich
9fa33f6420
Use ShortcutPseudoActivity for widgets.
...
Android 8 does not allow us to directly start a background service, use the ShortcutPseudoActivity to do it anyway.
That's how we roll now.
2017-08-28 22:41:59 +02:00
Adrian Ulrich
4b06348059
fix notifications for android 8
2017-08-27 20:47:34 +02:00
Adrian Ulrich
d3b0436554
Sync FileProvider.java with android-7.0.0_r33
2017-08-27 19:41:52 +02:00
Adrian Ulrich
a104b68201
Use FileProvider to implement share function.
2017-08-27 19:21:22 +02:00
Adrian Ulrich
39168bc561
Add FileProvider.java (103998f0f71ce45147449044f57a6ba2618225a9)
2017-08-27 18:52:26 +02:00
Adrian Ulrich
15e08cfaa5
update api level to android 8
2017-08-27 17:13:08 +02:00
Adrian Ulrich
1ad2a6fb8b
Use postInvalidate instead of postInvalidateOnAnimation.
...
We still support android 4.0, which does not implement postInvalidateOnAnimation.
2017-08-26 09:50:18 +02:00
Adrian Ulrich
fa65bc393b
add previous button to small notification
2017-08-22 21:34:26 +02:00
Adrian Ulrich
35668a5c3f
add missing shortcuts.xml. D'oh!
2017-08-11 21:51:58 +02:00
Adrian Ulrich
2b36ff3114
Add 'shortcuts' support
2017-08-11 21:49:31 +02:00
Adrian Ulrich
1b9bb0596d
minor cover tweaks
2017-08-11 20:08:26 +02:00
Adrian Ulrich
15ca68a9f9
update translations
2017-08-10 13:12:09 +02:00
Adrian Ulrich
caf24d645c
improve cover artwork scaling
2017-08-10 12:39:27 +02:00
Adrian Ulrich
a44dca0d1b
PlaylistDialog can handle LibraryAdapters, no need to cast to MediaAdapter
2017-08-10 10:59:14 +02:00
Adrian Ulrich
e703dea460
fix bug #649
2017-08-10 10:50:18 +02:00
Adrian Ulrich
93001bb7c6
add more changes
2017-08-10 10:40:24 +02:00
Adrian Ulrich
70ff257f38
target 1.0.54
2017-08-06 12:39:38 +02:00
Adrian Ulrich
5d57fbea5b
generateBitmap() doesn't like null songs.
...
But we may have to set a bitmap to null - just skip creating the cover if it would be null anyway.
2017-08-06 12:16:18 +02:00
Adrian Ulrich
34ad6a24b4
add help fragment
2017-08-05 13:02:56 +02:00
Adrian Ulrich
34ec873cf7
update translations
2017-08-05 12:31:48 +02:00
Adrian Ulrich
6bc3976dbb
use context.getApplicationContext in MediaLibrary.
...
This ensures that we are not handing an Activity to our children
2017-08-05 12:28:48 +02:00
Adrian Ulrich
6bbc3800c2
Re-implement CoverView.
...
This implementation should hopefully drop less frames.
2017-08-03 20:35:56 +02:00
Adrian Ulrich
b308b97880
pick up ADTS files
2017-08-03 20:28:16 +02:00
Adrian Ulrich
710b284193
reword scanner description
2017-07-23 19:48:46 +02:00
Adrian Ulrich
5ccd9cb9a6
Always update album entries with new data
2017-07-16 19:32:45 +02:00
Dennis Guse
cab1dc8fdd
Mark notifications showing media content as private. ( #627 )
...
* Mark notifications showing media content as private.
* Removed unnecessary setting of private/public for notifications
2017-07-05 18:52:44 +02:00
Adrian Ulrich
df853b06c3
increase precision in dpi calculation
...
Some devices have a density like 2.7, so we should use a float to do the calculation
2017-07-03 10:48:47 +02:00
Adrian Ulrich
53f097b469
sync with bastp
2017-07-03 10:03:05 +02:00
Adrian Ulrich
2666afd234
Wrap mirror links result in try/catch.
...
This seems to be racy on the receiver side and i have no real way to test it :-/
2017-07-03 09:21:25 +02:00
Adrian Ulrich
b07293f968
fix gradle wrapper checksum
2017-07-03 08:29:24 +02:00
Adrian Ulrich
cd03f0b1f5
calculate cover sizes dynamically
2017-07-02 16:10:44 +02:00
Adrian Ulrich
0d4c8685ae
handle NULLs in fastscroll alphabet.
...
Display a question mark if the value was NULL, this enables the fastscroller to scroll to NULL columns.
2017-07-02 15:41:13 +02:00
Adrian Ulrich
753410bbef
rename getQueuePositionForSong into getQueuePositionForSongId()
2017-07-02 14:26:23 +02:00
Antic1tizen One
117572eb7c
Jump to song in queue if picked just one ( #624 )
...
* Bump gradle versions needed for build
Android Studio already refuses to build it as-is,
so alter the versions required.
* Rename mode -> action for better readability
* Fix incorrect description on getByPos from timeline
* Jump to song in queue if picked one. Implements #604
2017-07-02 14:24:11 +02:00
Adrian Ulrich
a50a9fd705
bump internal version
2017-06-26 19:41:07 +02:00
Adrian Ulrich
4277871b31
update BTC address
2017-06-26 19:40:52 +02:00
Adrian Ulrich
023f0ef37f
Workaround for samsung devices.
...
Looks like Samsunb broke getExternalMediaDirs() on 5.x as it tends to return a null File sometimes.
This code checks for it and falls back to the old case on total failure.
2017-06-26 19:38:06 +02:00
Adrian Ulrich
f88f96d615
default to Notification.PRIORITY_HIGH
2017-06-24 13:05:02 +02:00