1496 Commits

Author SHA1 Message Date
ByteHamster
3edbbe8c53 Moved notification utils to other package 2018-05-26 23:13:16 +02:00
brad
6bda6405b8
avoid unused context parameter 2018-05-20 23:01:14 -07:00
orionlee
1f14d8482e core tests: DateUtilsTest - states why it remains to be an androidTest. 2018-05-18 13:44:00 -07:00
orionlee
eb0ef1e201 core tests: Make DownloadServiceTest be a unit test (the portion of
DownloadService tested is all in-memory logic).
2018-05-18 13:42:39 -07:00
orionlee
46ae3e0b00 core tests: Convert tests that are effectively unit tests to be one
(standard android junit tests). Provides implementations for
android platform utils needed (in unit test environment):
1. android.util.Log, 2. android.text.TextUtils.isEmpty()
2018-05-18 13:21:36 -07:00
orionlee
f05c7e23ef core tests fix: use consistent convention that tests are in the same
java package as the classes under test.
2018-05-17 14:56:18 -07:00
orionlee
7dd4e5caa1 core tests fix: ensure running test suite (gradlew connectedAndroidTest)
include all test. The existing config does not include the tests
in feed/ directory.
2018-05-17 14:55:51 -07:00
orionlee
da85e00bd9 Give FeedUpdateReceiver a human-friendly label per review feedback. 2018-05-15 15:20:56 -07:00
Koen Glotzbach
6e876db9b6
Update strings.xml
Improve preference description following https://github.com/AntennaPod/AntennaPod/issues/1560#issuecomment-172252386. Not sure if same change should be applied also to string "pref_hardwarePreviousButtonRestarts_sum"
2018-05-14 23:34:37 +02:00
orionlee
e021d4e147 #2686: Allow feeds update to be triggered by external apps. 2018-05-12 13:50:37 -07:00
ByteHamster
407f92be12 Merge branch 'develop' into api-26-support 2018-05-07 20:02:07 +02:00
ByteHamster
d7d614f33f Fixed compile error and warning about mixed support versions 2018-05-06 23:15:55 +02:00
ByteHamster
f6082f5808 Using builder to call PlaybackService 2018-05-06 19:46:31 +02:00
ByteHamster
4411b0ffaa Fix possible missing sync calls 2018-05-06 19:21:02 +02:00
ByteHamster
cb70aeb3cf Code style improvements 2018-05-06 19:15:40 +02:00
ByteHamster
22f791e05f Moved auto update handling to new class 2018-05-06 19:07:25 +02:00
ByteHamster
61f8000352 Using callback instead of sync/async methods 2018-05-06 18:52:16 +02:00
Martin Fietz
f6faca95c0
Merge pull request #2673 from ByteHamster/preference-support
Switched to PreferenceFragmentCompat
2018-05-06 17:45:25 +02:00
Martin Fietz
b156458d83
Merge pull request #2646 from vimsick/fast-forward
Fix Bluetooth Forward Skip Button for Android 8
2018-05-06 17:37:53 +02:00
Martin Fietz
930330fbb4
Merge pull request #2675 from ByteHamster/delete-feed-while-playing
Stop playback service when feed is deleted
2018-05-05 18:41:48 +02:00
ByteHamster
304696d59e Stop playback service when item of deleted feed is played
Closes #2425
2018-05-05 18:24:32 +02:00
Martin Fietz
121f1d9d79
Merge pull request #2671 from ByteHamster/content-encoded-addition
Fix empty contentEncoded
2018-05-05 18:24:09 +02:00
ByteHamster
a270d4fc03 Migrated Gpodnet to JobIntentService, so it does not need notification 2018-05-05 15:10:08 +02:00
ByteHamster
7a768e9809 Fixed widget if service is not running 2018-05-05 14:32:04 +02:00
ByteHamster
7107819a6a Moved widget from app to core 2018-05-05 14:04:12 +02:00
ByteHamster
0b54d97a0a Switched widget to JobIntentService 2018-05-05 13:39:57 +02:00
H. Lehmann
dacd7787bc
Merge pull request #2664 from orionlee/share_link_improvement_2579
Share link improvement 2579
2018-05-04 23:31:39 +02:00
ByteHamster
ca3d6b9a3d Persist job through reboot 2018-05-04 22:47:53 +02:00
ByteHamster
eeb032e938 Notify system when job is done 2018-05-04 22:41:53 +02:00
ByteHamster
a97b524a05 Review changes #2 2018-05-04 22:23:15 +02:00
ByteHamster
686801fea2 Switched to PreferenceCompat 2018-05-04 19:06:32 +02:00
ByteHamster
f66e19845c Review changes 2018-05-04 14:36:32 +02:00
ByteHamster
9f0d187efd Fix empty contentEncoded
This code duplication was forgotten in #2607
2018-05-04 13:57:55 +02:00
ByteHamster
ffdfefc35d Fixed fresh install crash 2018-05-03 19:36:40 +02:00
ByteHamster
2190101cf9 Added JobScheduler for feed updates 2018-05-03 19:11:30 +02:00
ByteHamster
3e98ab61ea Start PlaybackService lazily to allow using ForegroundService 2018-05-03 19:11:30 +02:00
ByteHamster
7ad176ce29 Added notification categories
Android treats IMPORTANCE_DEFAULT as IMPORTANCE_HIGH
https://issuetracker.google.com/issues/65108694
2018-05-03 19:11:28 +02:00
ByteHamster
1d0459b126 Updated build tools 2018-05-03 19:11:00 +02:00
orionlee
4c7531d277 Flatten nested ifs, per @ByteHamster feedback 2018-05-02 13:53:56 -07:00
orionlee
9dcbddf371 Issue #2580: Expose "Mark as seen" as a context menu item in Episode
screen, in addition to the existing swipe in Episode > New tab.
2018-05-02 13:15:14 -07:00
ByteHamster
719545fd3d Prevent thrashing the database by opening and closing rapidly
Reduces number of real close() calls to the database
from multiple times per second to one single time
2018-05-02 21:52:21 +02:00
orionlee
ab0f413185 Make FeedItemUtil.getLinkWithFallback(item) tolerates null item. 2018-04-30 15:49:18 -07:00
orionlee
345fcc17d0 FeedItem Visit Website tweak: use feed website as a fallback,
analogous to how share FeedItem link work.
Applicable to both feed playback screen and feed information screen.
2018-04-30 15:44:19 -07:00
orionlee
4bba6b30a1 Issue #2579: Provide share Link in episode playback screen even
when the episode has no link - Use podcast link as the fallback.
Also bug fix share link with position: to include epsiode
and podcast title.
2018-04-30 15:03:04 -07:00
mr-intj
7be44370f6 * Using Camel Case for methods
* Use braces on single-line blocks
2018-04-30 14:44:13 -07:00
mr-intj
91120d98a4 Added "Random" and "Smart Shuffle" items at the bottom of the Queue|Sort menu.
Added "Permutor" interface to allow specification of reordering logic to be specified in QueueSorter (vs. DBWriter), similar to the existing sort logic.

Added "Random" and "Smart Shuffle" strings to core/src/main/res/values (did not add translations for non-English languages)

Closes #2366, Closes #2602
2018-04-27 17:30:40 -07:00
ByteHamster
c977e70106 Removed duplicate String 2018-04-22 20:49:41 +02:00
ByteHamster
8b72f35147 Merge branch 'develop' into exo-player 2018-04-22 20:48:00 +02:00
ByteHamster
94bf3cd734 I deleted a line accidentally 2018-04-22 20:41:20 +02:00
Martin Fietz
e9695a426f
Merge pull request #2634 from ByteHamster/preference-rework
Preferences rework
2018-04-22 20:35:13 +02:00