Commit graph

1,607 commits

Author SHA1 Message Date
Eugene Cheung
d86a4991b6
Enable notification badge (closes #623)
Note that this only affects new installs since the channel ID is still the same.
2019-01-09 21:01:20 -05:00
Eugene Cheung
3f3526f061
Move some util functions 2019-01-07 22:12:21 -05:00
Eugene Cheung
8e21903cf9
Bump Gson dependency 2019-01-07 21:59:43 -05:00
Eugene Cheung
b65cbbdf15
Tweak sleep timer checkbox margin 2019-01-07 21:58:02 -05:00
Peng Guanwen
2111c41836 Finish current music when Sleep Timer stops (#629)
Implement #329.
This commit adds a CheckBox to dialog_sleep_timer, and a curresponding
option `TIMER_FINISH_MUSIC` in PreferenceUtil.

In MusicService, a new flag `pendingQuit` is to indicate if it should
stop after current music stops. A new action `ACTION_PENDING_QUIT` will
set that flag.

Canceling is a little tricky. I must bind MusicService in Dialog
activity to check if `pendingQuit` is set, and show the corresponding
canceling button.
2019-01-07 21:45:33 -05:00
Eugene
631c72d195
Merge pull request #631 from soncaokim/fix-upstream-build
Fix build
2018-12-30 13:38:04 -05:00
Son
e4b846cfb7 Fix build 2018-12-30 10:55:15 +01:00
soncaokim
e461f44ff0 Smart playlist decoration (#619)
* Show smart playlist threshold and number of tracks in addition to the playlist title (#4)

* Remove todo tags (#5)

* Indentation

* Code review
2018-12-29 12:28:44 -05:00
soncaokim
93bb9cf7fc Disable clear menu item on NotRecentlyPlayed (#620)
* Disable clear menu item on NotRecentlyPlayed, small menu refactoring

* Save few clock ticks
2018-12-06 16:51:42 -05:00
Eugene
f1932d05c8
Merge pull request #618 from soncaokim/NotRecentlyPlayedTweaks
Change the icon of the Not recently played playlist
2018-12-03 17:18:08 -05:00
Son
4768f9f688 Code review 2018-12-03 22:46:08 +01:00
soncaokim
f7cbfb38d9 Add choice of 7 days to settings for dynamic playlists (#616)
* Add choice of N days to settings for dynamic playlists (#3)

* Code review
2018-12-03 16:45:47 -05:00
Son
a91b5ee133 change icon 2018-12-03 18:15:55 +01:00
Eugene Cheung
acd21b1231
Update Retrofit 2018-12-02 22:52:55 -05:00
Eugene Cheung
0f6048664f
Update build tools 2018-12-02 22:50:24 -05:00
Eugene Cheung
2dca1c6db5
Update Gradle 2018-12-02 22:50:18 -05:00
soncaokim
764751381a Add a new smart playlist "Not played lately" playlist (#613)
* Add "Not played lately" playlist (#1)

* Fix bad recent playlist construction (#6)

* Revert History rename

* Code review
2018-12-02 12:30:01 -05:00
Karim Abou Zeid
71f5072624 Update fastlane 2018-11-03 12:47:02 +01:00
Eugene Cheung
635bb42592
Remove unused fonts XML, move launcher color 2018-09-05 23:05:44 -04:00
Eugene Cheung
f98222c372
Some NonNull annotations 2018-09-05 23:01:45 -04:00
Eugene Cheung
8bbdfaa34a
Remove unused XML namespaces 2018-09-05 22:50:43 -04:00
Eugene Cheung
1dc7d94f05
Remove unnecessary API 21 integers.xml 2018-09-05 22:50:27 -04:00
Eugene Cheung
2d173acc3f
Replace if blocks with switch blocks 2018-09-05 22:46:30 -04:00
Eugene Cheung
99ff2a3914
Remove unused import 2018-09-05 22:46:14 -04:00
Eugene Cheung
c9eb6b9a08
Remove explicit parameter types 2018-09-05 22:45:32 -04:00
Eugene Cheung
42bcb62d2c
Replace for loops with foreach 2018-09-05 22:44:45 -04:00
Eugene Cheung
527c7ec54e
Remove unused return values 2018-09-05 22:38:55 -04:00
Eugene Cheung
a842ec26c0
Remove unused TAGs 2018-09-05 22:38:46 -04:00
Eugene Cheung
5cef335b27
Remove redundant methods 2018-09-05 22:35:36 -04:00
Eugene Cheung
2ab8e7fd71
Remove unused classes 2018-09-05 22:34:35 -04:00
Eugene Cheung
1b8a80a393
Remove unused argument to setDrawUnderStatusbar 2018-09-05 22:24:51 -04:00
Eugene Cheung
682ab8aea7
Minor edit 2018-09-05 22:24:34 -04:00
Eugene Cheung
63698f05de
Set lyrics button as SHOW_AS_ACTION_IF_ROOM 2018-09-05 22:24:21 -04:00
Eugene Cheung
f97f26c3da
Set inputType for genre tag editor 2018-09-05 22:24:04 -04:00
Eugene Cheung
2b0280298c
Replace deprecated methods 2018-09-05 22:23:53 -04:00
Eugene Cheung
8f3cf5e010
Flatten playlist activity layout 2018-09-05 22:12:54 -04:00
Eugene Cheung
63deaa5025
Mark player names as not translatable 2018-09-05 22:12:11 -04:00
Eugene Cheung
b53d6838a9
Minor ImageView suppressions 2018-09-05 22:11:59 -04:00
Eugene Cheung
06dda67b8e
Move hardcoded string to strings.xml 2018-09-05 22:11:38 -04:00
Eugene Cheung
7a35bd08b6
Fix actionBarSize attribute references 2018-09-05 22:11:11 -04:00
Eugene Cheung
2e7dd7b62e
Use default locale when formatting strings 2018-09-05 22:09:58 -04:00
Eugene Cheung
5a0713025c
Minor edits 2018-09-05 22:09:38 -04:00
Josh Holland
46e34a72d9 Mark names as not translatable 2018-09-05 21:55:15 -04:00
Karim Abou Zeid
4ff336a0d5 Bump build version 2018-08-28 12:08:16 +02:00
Karim Abou Zeid
9d0e84bf8e
Merge pull request #573 from kabouzeid/notch-support
Notch support via WindowInsets
2018-08-27 08:32:30 +02:00
Karim Abou Zeid
6464307c7d Notch support via WindowInsets 2018-08-25 15:14:35 +02:00
Paolo Valerdi
06a87d5704 Notch support 2018-08-24 09:51:24 -05:00
Karim Abou Zeid
b5c6b2d343
Merge pull request #538 from blueset/master
Add fallback when media button press event time is not available
2018-07-06 20:08:51 +02:00
Karim Abou Zeid
0be5f9e0cf Bump build version 2018-06-27 10:12:07 +02:00
Karim Abou Zeid
af3dab4930 Fix null pointer? 2018-06-27 10:12:07 +02:00