Commit Graph

514 Commits

Author SHA1 Message Date
Tom Hennen
e555b3f24f Fixed saving/restoration of scroll position thanks to some code from
@mfietz, https://github.com/mfietz/AntennaPod/blob/recyclerview/app/src/main/java/de/danoeh/antennapod/fragment/AllEpisodesFragment.java
2015-11-03 21:41:13 -05:00
Tom Hennen
10ee9ba484 remove commented out code 2015-11-03 21:41:13 -05:00
Tom Hennen
f9ef32fff2 resolved compilation problem and got rid of the 'no items' label 2015-11-03 21:40:02 -05:00
Tom Hennen
89bbc88826 replaced context menu with popup menu. still a couple of other issues 2015-11-03 21:40:02 -05:00
Tom Hennen
a02b84d2d2 undo for new items 2015-11-03 21:40:02 -05:00
Tom Hennen
7489046037 undo for favorites 2015-11-03 21:40:02 -05:00
Tom Hennen
8f5e0bb5e4 playing around with recycler view. context menu and swiping isn't working 2015-11-03 21:40:02 -05:00
Tom Hennen
31d91ac901 1.4.0 rc5 2015-11-03 19:11:25 -05:00
Tom Hennen
a546c1e95b 1.4.0 rc4 2015-11-01 18:34:11 -05:00
Tom Hennen
5c7209e4e3 1.4.0 rc3 2015-11-01 16:41:19 -05:00
Tom Hennen
545c91a3d6 need to use old version of com.afollestad:material-dialogs for now 2015-11-01 16:37:04 -05:00
Tom Hennen
68e6b2a957 persistent nofication should be the default 2015-11-01 16:19:34 -05:00
Tom Hennen
20960b9bff Merge pull request from mfietz/upgrade-libs
Gradle: external version variables, lombok AST
2015-11-01 16:15:44 -05:00
Martin Fietz
0049fbec27 External version variables, lombok AST 2015-11-01 17:51:50 +01:00
Tom Hennen
3c87b514a3 Merge pull request from mfietz/upgrade-libs
Upgrade libraries
2015-11-01 11:33:00 -05:00
Tom Hennen
f735638a4f Merge pull request from mfietz/strict_mode
Strict mode for debugging
2015-11-01 11:17:57 -05:00
Martin Fietz
b1b1df3cdc Upgrade libraries 2015-11-01 17:13:24 +01:00
Martin Fietz
93fc95eb7b Don't die 2015-11-01 16:55:42 +01:00
Tom Hennen
41f0adb101 Merge pull request from mfietz/user_preferences
Refactoring: User preferences
2015-11-01 10:41:00 -05:00
Tom Hennen
777dcfd8c5 Merge pull request from mfietz/preference_activity
PreferenceActivity: weak reference
2015-11-01 10:40:28 -05:00
Martin Fietz
7152b0e0eb Unused parameter 2015-11-01 14:38:58 +01:00
Martin Fietz
3596463bf3 Only hold weak reference 2015-11-01 14:28:50 +01:00
Martin Fietz
b75a390507 Strict mode for debugging 2015-11-01 13:57:16 +01:00
Tom Hennen
3cc5eee0ff Have a different option for bluetooth reconnect.
Vibrate when starting playback due to bluetooth reconnect.

fixes 
2015-10-31 11:33:10 -04:00
Tom Hennen
42e5a8de66 Merge pull request from mounirlamouri/patch-1
Fix "Could not find com.afollestad:material-dialogs:0.7.8.0" error.
2015-10-29 17:41:48 -04:00
Tom Hennen
277cfa01d0 Merge pull request from mfietz/issue/1293-NPE-MainActivity-onContextItemSelected
Prevent NPE in MainActivity.onContextItemSelected()
2015-10-29 17:41:19 -04:00
Mounir Lamouri
a004fbb5a0 Fix "Could not find com.afollestad:material-dialogs:0.7.8.0" error.
material-dialogs:0.7.8.0 can't be downloaded but it seems that things work fine with 0.7.8.1. It seems simple enough to upgrade the dependency here.
2015-10-25 23:57:12 +00:00
Martin Fietz
9dcf3de723 Just check everything for null before you do stuff with it 2015-10-25 18:47:51 +01:00
Martin Fietz
89e67f0919 Replace loader
Replace with lambda
Replace Loader with Observable
onResume and onPause instead of onStart and onStop; minor changes
Makes more sense to load data once at start
Reorder functions to mirror lifecycle
2015-10-25 14:00:50 +01:00
Martin Fietz
ec7bc19351 Update to latest audio player version 2015-10-17 18:46:39 +02:00
Tom Hennen
79f0eca912 prevent NPE when 'chapters' is null 2015-10-17 12:04:59 -04:00
Tom Hennen
bcef62d11e Merge pull request from stevomit/rewind-after-pause
Rewind after pause feature
2015-10-17 11:50:14 -04:00
Stefan Mitrik
87d27a7c0b Rewind after pause - used less conservative rewind times 2015-10-17 12:00:46 +02:00
Tom Hennen
0e2b056d4e Merge pull request from TomHennen/fix_playback_tests
Updated playback tests to make them more reliable
2015-10-15 17:09:42 -04:00
Stefan Mitrik
f7dabd9335 Rewind after pause feature
The playback is rewinded X seconds after the pause and resume. The
rewind duration depends on time that elapsed between the pause and
resume.
2015-10-15 00:52:55 +02:00
Tom Hennen
87b42c23dc Merge pull request from TomHennen/fix1252
Cleanup when we show the mark as played/unplayed menus.
2015-10-12 17:29:25 -04:00
Tom Hennen
33a3f4ac04 added idle sync to make tests more reliable 2015-10-10 07:17:05 -04:00
Tom Hennen
113f8c55c3 updated sonic tests, still have an intermittent error 2015-10-10 05:38:18 -04:00
Tom Hennen
83e56a334c Updated PlaybackTest to deal with some spurious bugs.
Problem was that the PlaybackController wasn't having currentMedia get
updated when playback initially starts. Working around it here by getting
the real playback controller that's being used in the app.

Still need to update PlaybackSonicTest.
2015-10-09 04:46:20 -04:00
Tom Hennen
326e3b7b52 Cleanup when we show the mark as played/unplayed menus. 2015-10-08 03:14:27 -04:00
Tom Hennen
23f134bb39 Change language related to skipping episodes.
Also now keep the episode media if we're going to keep it in the queue.
2015-10-08 02:53:34 -04:00
Tom Hennen
07bcdb167b add test for different number of days of cleanup 2015-10-02 16:54:33 -04:00
Tom Hennen
6f3d748aa0 episode cleanup preferences tests 2015-10-02 16:50:08 -04:00
Tom Hennen
f3e56a2385 fix PreferencesTest to actually check the condition was met. 2015-10-02 16:26:42 -04:00
Tom Hennen
af5579a30e fixed use of preferences 2015-10-02 10:25:01 -04:00
Tom Hennen
fda662f697 simplified tests 2015-10-02 10:07:09 -04:00
Tom Hennen
c9c38a0f5a Implemented tests for the various cleanup algorithms.
We also don't delete items that are in Favorites.
2015-10-02 09:38:11 -04:00
Tom Hennen
e61c7efde4 ap algorithm cleanup tests 2015-10-02 08:31:46 -04:00
Tom Hennen
0beeeb4351 resolved bug in how we were choosing the default cleanup parameter 2015-10-02 07:56:34 -04:00
Tom Hennen
60e341cf78 resolved compile time issues. refactored some code 2015-09-30 06:33:35 -04:00