Martin Fietz
6dbe772345
Merge pull request #2569 from ByteHamster/white-icon
...
Removed large icon from notification
2018-03-18 10:19:20 +01:00
Martin Fietz
0262325e36
Merge pull request #2574 from ByteHamster/forensics
...
Backup corrupted db
2018-03-18 10:17:32 +01:00
orionlee
1a55348849
remove the deprecated publishNonDefault
2018-03-13 12:35:48 -07:00
orionlee
cd8f220ce0
robotium-solo : corrected its dependency as androidTestImplementation in app/
2018-03-13 12:28:13 -07:00
orionlee
95037f67ad
dependencies: replace deprecated compile with implementation / api
2018-03-13 11:34:29 -07:00
orionlee
b71e61a221
Upgrade to Android Gradle Plugin v3.0.1 - bare minimal to get it built, ignoring depercation warnings
...
Details:
- upgraded buildtools to the latest (minimum 26.0.2 required)
- retired retrolambda
- added flavorDimensions (v3 requirement)
- Migrate dependency configurations for local modules (:core)
- Declaration of resources update in styles.xml (AAPT2 requirement)
- upgraded plugin github play-publisher to v1.2.0
2018-03-13 09:51:50 -07:00
Jan Niehusmann
f514a439e2
Fix possible NPE accessing image.download_url
...
May fix #2386 . If so, thanks to @cyplo who provided the logcat output
which directed me to that code path.
2018-03-04 22:19:03 +01:00
ByteHamster
f90d3c2e7b
Backup corrupted db
...
This might allow some forensics if #2463 happens. Maybe it also
allows to recover some of the files manually.
2018-02-20 23:22:51 +01:00
ByteHamster
6e5b639608
Removed large icon
...
Closes #2541 .
We do not need the same icon twice.
As the icon is displayed white-on-white, it is not visible anyways.
This also gives more space to the notification text
2018-02-17 18:09:08 +01:00
Humberto Fraga
45440d775f
Removing old files and changing references.
...
Splash screen now follows icon color.
2018-02-10 16:52:18 -03:00
Humberto Fraga
7f0ba828fa
Adding new ic_launcher files
2018-02-10 16:45:29 -03:00
Martin Fietz
287bb5f7e1
Merge pull request #2550 from ByteHamster/download-range
...
Hotfix for servers not accepting the Range header
2018-01-24 08:04:12 +01:00
ByteHamster
bc9d39dedf
Hotfix for servers not accepting the Range header
...
Because of #2339 , the file always exists when starting a download.
There is still an issue with the server parsing "Range: bytes=0-"
incorrectly, but this commit should make the error appear less often.
Related to #2539
2018-01-23 23:31:08 +01:00
Martin Fietz
94e8c2d92b
Merge pull request #2549 from AntennaPod/bugfix/corrupt-database
...
Synchronize opening and closing of the database
2018-01-22 21:50:55 +01:00
Martin Fietz
f7de8a0e44
Synchronize opening and closing of the database
2018-01-22 21:45:38 +01:00
H. Lehmann
77b199d005
Merge pull request #2547 from ByteHamster/improve-export-naming
...
Improved wording (Closes #2545 )
2018-01-22 13:18:28 +01:00
ByteHamster
8b041be8aa
Improved export success wording ( Closes #2545 )
2018-01-21 23:37:41 +01:00
H. Lehmann
5526937698
Merge branch 'develop' into picture-in-picture
2018-01-21 22:50:47 +01:00
Martin Fietz
82378f3647
Merge branch 'develop' into stringbuilder
2018-01-21 22:12:54 +01:00
Andrew Gaul
278e93880e
Prefer StringBuilder over StringBuffer
...
The latter has unnecessary synchronization. Found via error-prone.
2018-01-21 13:04:57 -08:00
Martin Fietz
2a792c3c75
Remove useless comment
2018-01-21 13:08:36 +01:00
Martin Fietz
86f6c001c1
Inline variables
2018-01-21 13:05:10 +01:00
Martin Fietz
a6c33d3b2c
Fix style
2018-01-21 13:03:00 +01:00
Martin Fietz
d3491d1858
Merge branch 'develop' into refactor
...
# Conflicts:
# app/src/main/java/de/danoeh/antennapod/activity/MediaplayerInfoActivity.java
# core/src/main/java/de/danoeh/antennapod/core/service/download/DownloadService.java
2018-01-21 11:10:20 +01:00
Martin Fietz
f7c048e5b4
Update translations
2018-01-21 11:00:15 +01:00
Martin Fietz
e6498393a6
Merge pull request #2445 from ByteHamster/export
...
Database import/export
2018-01-21 10:51:16 +01:00
Martin Fietz
9adbf83182
Merge pull request #2543 from gaul/static-final
...
Make some static fields final
2018-01-21 10:03:52 +01:00
Andrew Gaul
404f241891
Make some static fields final
...
Adding final prohibits modification and allows initialization of
primitive and String fields at compile time instead of runtime in
clinit:
https://developer.android.com/training/articles/perf-tips.html#UseFinal
Found via error-prone.
2018-01-20 18:28:21 -08:00
Andrew Gaul
118d9103c1
Make some inner classes static
...
This avoids an implicit this field and can help GC. Found via
error-prone.
2018-01-20 18:26:08 -08:00
Martin Fietz
e4770e7edc
PlayerStatus and playable fields cannot be final
2018-01-19 17:25:47 +01:00
Martin Fietz
99f01bdc90
Add throws to avoid interface clash
2018-01-14 18:42:50 +01:00
Martin Fietz
b38d016ec3
Remove catch for exception that is never thrown
2018-01-14 18:41:26 +01:00
Martin Fietz
c12fedf392
Merge folder configuration
2018-01-14 18:17:08 +01:00
Martin Fietz
e9700b0627
Lookup service via application context to avoid memory leak
2018-01-14 18:14:15 +01:00
Martin Fietz
3cb8f27e49
Remove unnecessary interface modifiers
2018-01-14 18:09:15 +01:00
Martin Fietz
b80d6a7914
Remove redundant throws clauses
2018-01-14 18:06:24 +01:00
Martin Fietz
a49048c7f6
Add final modifiers
2018-01-14 18:05:45 +01:00
Martin Fietz
b86b6caec8
Weaken declaration access
2018-01-14 18:04:54 +01:00
Martin Fietz
eaa9947869
Fix pointless arithmetic expression
2018-01-14 18:03:22 +01:00
Martin Fietz
d7e1b0f977
Replace StringBuilder with String
2018-01-14 18:02:13 +01:00
Martin Fietz
01fa0a56ea
Replace manual array t collection copy
2018-01-14 17:59:51 +01:00
Martin Fietz
53dc62ec0f
Remove unused imports
2018-01-14 17:51:24 +01:00
Martin Fietz
a8e4fcf1b0
Replace for loop with foreach
2018-01-14 17:50:59 +01:00
Martin Fietz
cbc3b23753
Replace explicit type with <>
2018-01-14 17:50:32 +01:00
Martin Fietz
7b2d7e80a4
Replace lambda with method reference
2018-01-14 17:48:11 +01:00
Martin Fietz
332943effb
Replace anonymous type with lambda
2018-01-14 17:47:43 +01:00
Martin Fietz
33f8ead4a0
Fix error
2018-01-10 22:58:52 +01:00
Martin Fietz
c4d19b7163
Silence warnings
2018-01-10 22:50:56 +01:00
Martin Fietz
ba3eb5e784
Remove assertions
2018-01-10 21:56:08 +01:00
H. Lehmann
2c9582c947
Merge pull request #2534 from AntennaPod/sdk_int_lt_14
...
Replace code for SDK version lower than 14
2018-01-10 18:26:54 +01:00
H. Lehmann
be569bfb14
Merge pull request #2531 from AntennaPod/remove_nineoldandroids
...
Replace ViewHelper
2018-01-10 15:24:34 +01:00
Martin Fietz
89366d97d1
Replace code for SDK version lower than 14
2018-01-09 21:03:30 +01:00
Martin Fietz
59a1b4a2bb
Cleanup executeAsync
2018-01-09 20:13:14 +01:00
Martin Fietz
eaf007ecac
Replace ViewHelper
2018-01-09 19:59:51 +01:00
ByteHamster
c5d1d5408b
Added Picure in picture
2018-01-09 08:00:22 +01:00
Martin Fietz
4d156118cc
Merge pull request #2520 from dirkmueller/include_cleanup
...
Cleanup order/remove unused includes
2018-01-07 20:11:01 +01:00
Dirk Mueller
bbbff0bc73
Cleanup order/remove unused includes
...
This is the result of Android Studio's include cleanup
Macro. This removes some no longer used includes, simplifying
the code a bit. The rest is grouping and resorting alphabetically.
2018-01-07 19:26:23 +01:00
Dirk Mueller
234e3ddbc2
Fix small whitespace error
...
This causes Android Lint to barf as it can not detect
the VIBRATE permission being requested.
2018-01-07 15:51:04 +01:00
Dirk Mueller
9de74f1dff
Return START_STICKY from onStartCommand()
...
The _FLAG_ variant is the input enum, replace it
with the value-equivalent properly typed enum.
2018-01-07 15:46:34 +01:00
Martin Fietz
8b84b70032
Merge pull request #2333 from ByteHamster/item-height
...
Improved list items when using a large font size
2018-01-04 22:10:49 +01:00
Martin Fietz
204c97b8de
Merge pull request #2339 from ByteHamster/save-file-url
...
Setting File_url when starting download
2018-01-04 20:05:59 +01:00
Martin Fietz
dc970d52d8
Update translations
2018-01-03 19:06:11 +01:00
Martin Fietz
f8343773db
To not redeliver intents to fix issues on Oreo
2018-01-03 19:04:10 +01:00
Martin Fietz
68754684b7
Merge pull request #2457 from ByteHamster/sharedElement
...
Shared element transition
2018-01-03 18:52:11 +01:00
ByteHamster
3fd3db6c57
Review changes
2017-12-25 22:42:41 +01:00
ByteHamster
d36f4b6a87
Updated phrasing
2017-12-24 13:18:05 +01:00
ByteHamster
2e5407370f
Showing dialog when import succeeds
2017-12-24 13:11:57 +01:00
ByteHamster
4cb4a0a0cb
Supporting export using documents store API
2017-12-24 13:11:57 +01:00
ByteHamster
af33e4c37b
Import/Export activity
2017-12-24 13:11:57 +01:00
kroegerama
2aa59062a2
Resolves #2475 (Headset button press not correctly handled)
2017-12-21 13:41:51 +01:00
Martin Fietz
b22efb03d7
Merge pull request #2456 from AntennaPod/bugfix/2397-duplicate-chapters
...
Avoid duplicate chapters
2017-12-11 20:14:41 +01:00
Martin Fietz
a98e127ab6
Merge pull request #2468 from HaBaLeS/bugfix/2382
...
Reload FeedMedia from DB to ensure correct playback position - fixes #2382
2017-12-11 20:14:14 +01:00
Martin Fietz
95f5085a91
Merge remote-tracking branch 'origin/develop' into develop
2017-12-11 20:13:25 +01:00
Martin Fietz
dfa5066de7
Return random filename if sanitized filename would be empty
2017-12-11 20:13:14 +01:00
Falko Lehmann
0d1ce8abfe
Reload FeedMedia from DB
2017-11-01 15:24:23 +01:00
Shantana Hardy
bedf06ec04
Parse RSS pubDate fields containing "Sept"
2017-10-28 19:18:16 -07:00
ByteHamster
70f9a9f398
Only write url of media files when starting download
2017-10-22 12:11:55 +02:00
ByteHamster
115268475d
Improved log messages
2017-10-22 12:11:55 +02:00
ByteHamster
eacc73eebf
Setting File_url when starting download
...
This way, downloads get resumed even if the service crashes
2017-10-22 12:11:55 +02:00
ByteHamster
82d4dacb11
Fix install of debug version by using unique provider
2017-10-21 23:53:50 +02:00
ByteHamster
30c7ca5437
Shared element transition of cover
2017-10-21 21:00:53 +02:00
ByteHamster
93c59875b2
Allow API dependent style changes
2017-10-21 20:52:03 +02:00
Martin Fietz
6b651dc3c7
Only load chapters from media file if item does not have chapters already
2017-10-21 19:21:25 +02:00
Martin Fietz
ee50bca545
Refactor
2017-10-21 19:20:18 +02:00
Martin Fietz
3eb637d690
Merge pull request #2443 from AntennaPod/followup/2272
...
Also check keep favorites preference in player widget service
2017-10-20 20:37:16 +02:00
Martin Fietz
3b77cc61da
Fix file sharing
2017-10-19 22:48:24 +02:00
Martin Fietz
3a150ac428
Check for null
2017-10-19 21:04:45 +02:00
Martin Fietz
f3c2ae1d6a
Replace StringUtils with TextUtils
2017-10-19 20:28:41 +02:00
Martin Fietz
7b496d5ae4
Update translations
2017-10-15 22:08:30 +02:00
Martin Fietz
c69c48b62f
Merge pull request #2426 from fuzzdk/develop
...
Add auto download on mobile connection option
2017-10-15 21:53:40 +02:00
Martin Fietz
47224f11ca
Also check keep favorites preference in player widget service
2017-10-15 21:47:40 +02:00
Martin Fietz
688e123c34
Merge pull request #2272 from minusf/develop
...
Skip favorite episodes during autodelete
2017-10-15 21:43:24 +02:00
Martin Fietz
5d8e820b82
Merge pull request #2314 from ByteHamster/delete-only-success
...
Check successful file deletion
2017-10-15 21:39:34 +02:00
Martin Fietz
0ac3706d4f
Merge pull request #2442 from ByteHamster/close-cursor
...
Close cursor before returning
2017-10-15 20:00:04 +02:00
ByteHamster
28f52d0ea6
Close cursor before returning
2017-10-15 16:23:30 +02:00
ByteHamster
9fa91061ee
Merged add_feed_label and add_new_feed_label
...
Closes #1833
2017-10-15 15:38:50 +02:00
ByteHamster
616fb5eda9
Changed spacing to look more like before
2017-10-14 19:21:02 +02:00
ByteHamster
50cf38431d
Improved list items when using a large font size
2017-10-14 19:21:02 +02:00
Martin Fietz
4ee195fba5
Merge pull request #2390 from CedricCabessa/wear_rewind_forward
...
add a "rewind" and "fast forward" button for android Wear
2017-10-08 17:01:57 +02:00
Martin Fietz
43ea1070a8
Merge pull request #2435 from AntennaPod/issue/2385-invalid-chars
...
Only allow very limited set of characters in file names
2017-10-08 16:46:10 +02:00
Martin Fietz
1732664b57
Merge pull request #2434 from AntennaPod/issue/2413-videoplayer-castexception
...
Cast according to mediaplayer instance type, not media type
2017-10-08 15:54:47 +02:00
Martin Fietz
1972c2d44e
2385 Only allow very limited set of characters in file names
2017-10-08 15:54:12 +02:00
Martin Fietz
86f4bca501
Fix typo
2017-10-08 11:18:48 +02:00
Martin Fietz
90c9fad53c
2413 Cast according to mediaplayer instance type, not media type
2017-10-08 11:15:59 +02:00
Anders Bo Rasmussen
c2346636ce
Fix code style
2017-09-24 12:24:37 +02:00
Anders Bo Rasmussen
7060e56a69
Add auto download on mobile connection option
2017-09-21 23:25:18 +02:00
Cédric Cabessa
f3ceccfa82
add a "rewind" and "fast forward" button for android Wear
...
This feature is only enabled for "play" build.
It is useful to skip advertisement during a podcast.
Note: I originaly tried to implement this in the "4 ways controller" managed by
the mediaSession (it contains vol up / vol down / skip). This object is linked
to the capabilities of the session and seems to be hard to customise without
changing the capabilities.
This patch simply add 2 new buttons
2017-08-14 23:33:25 +02:00
Martin Fietz
14ac9e6920
1183 Update feed item image
2017-06-05 11:26:42 +02:00
Martin Fietz
41624c20a9
1183 Reorder methods
2017-06-05 11:26:42 +02:00
Martin Fietz
19acd8d88c
1183 Update feed image
2017-06-05 11:26:42 +02:00
Martin Fietz
404a9c2fbf
Refactor
2017-06-05 11:26:42 +02:00
Martin Fietz
397cd8c636
Remove unused methods from DB Reader and DB Adapter
2017-06-05 11:26:42 +02:00
ByteHamster
aae06389f9
Using MessageEvent to deliver error message
2017-06-04 14:42:42 +02:00
H. Lehmann
341928b3ba
Merge pull request #2305 from ByteHamster/share-file
...
Allow sharing feed file, as suggested in #2236
2017-06-04 14:38:20 +02:00
ByteHamster
5051a0f3d9
Check successful file deletion
2017-06-04 14:36:13 +02:00
ByteHamster
75ece930e9
Review changes
2017-06-04 14:22:45 +02:00
Martin Fietz
dc6141ea1d
When automatically updating feeds, check if a network connection is available first
2017-06-04 13:43:40 +02:00
ByteHamster
afd7ae90ab
Fixed playback progress bar position after start
2017-05-19 16:58:23 +02:00
Martin Fietz
b1bb29ddc2
Keep playing episode when switching between day and night modes
2017-05-07 11:41:09 +02:00
ByteHamster
932f24c892
Allow sharing feed file, as suggested in #2236
2017-05-03 20:41:10 +02:00
Martin Fietz
21e2e8dc5e
Fix french translation
2017-05-01 18:20:29 +02:00
Martin Fietz
fd2f39ff10
Merge branch 'develop' of github.com:AntennaPod/AntennaPod into develop
2017-05-01 18:14:09 +02:00
Martin Fietz
d67e7296bb
Update translations
2017-05-01 18:13:57 +02:00
Martin Fietz
2a2b5fec90
Catch exception when reading duration via metadata retriever
2017-05-01 18:07:44 +02:00
Martin Fietz
932748ef70
Prevent NPEs
2017-05-01 18:07:37 +02:00
Martin Fietz
e76e78cb56
Merge pull request #2311 from dklimkin/PodDBAdapter
...
Reducing lock contention on PodDbAdapter.
2017-04-23 14:42:18 +02:00
Danial Klimkin
43b604664b
Small rework of PodDbAdapter:
...
- Reducing lock contention on PodDbAdapter;
- Slightly better lists handling.
2017-04-22 19:06:38 +02:00
Danial Klimkin
a972ca6f06
Auto-fix style on PodDBAdapter, no real changes.
2017-04-22 19:04:58 +02:00
Martin Fietz
fb0658883d
Merge branch 'develop' of github.com:AntennaPod/AntennaPod into develop
2017-04-22 18:59:04 +02:00
Martin Fietz
f41c462b82
Update translations
2017-04-22 18:58:54 +02:00
Martin Fietz
32d7202880
Don't show playlist button when queue is empty
2017-04-22 18:56:57 +02:00
Danial Klimkin
6eba46a7ba
Some cleanup on DBReader:
...
- Taking more care of closing adapter and cursors.
- Dropping unneeded MoveToFirst where we manage the cursor.
- Better feed association implementation.
- Dropping one of getFeedItems() methods that looks unused.
2017-04-22 15:13:42 +02:00
ByteHamster
98001b51d9
Added null check when closing network request
...
Fixes #2307
2017-04-21 17:58:49 +02:00
Martin Fietz
ba67fe8761
Update translations
2017-04-17 09:26:37 +02:00
Martin Fietz
bd80e1c9c6
Update translations
2017-04-16 20:32:11 +02:00
Martin Fietz
4a37d16e43
Merge pull request #2294 from ByteHamster/stats-duration
...
Allow choosing between getDuration and getPlayedDuration
2017-04-16 20:10:16 +02:00
Martin Fietz
9542ef1569
Merge pull request #2302 from mfietz/issue/2269-incorrect-weekdays
...
When date string parsing failed, try parsing the string without the weekday
2017-04-16 20:09:04 +02:00
Martin Fietz
4e7402c214
Merge pull request #2300 from ByteHamster/chapter-durations
...
Added duration to chapters list
2017-04-16 20:08:40 +02:00
Martin Fietz
f1b04d45e4
Merge pull request #2301 from ByteHamster/most-played
...
Sort feeds by number of played episodes
2017-04-16 19:59:28 +02:00
Martin Fietz
2209e0e9b2
Convert octal literals to decimal ones
2017-04-16 19:50:48 +02:00
Martin Fietz
f7b35de919
When date string parsing failed, try parsing the string without the weekday
2017-04-16 13:48:17 +02:00
ByteHamster
2036511167
Sort feeds by number of played episodes
...
This way, your most-loved feeds are on top of the list
2017-04-16 08:23:44 +02:00
ByteHamster
8f226803cb
Added notice that playback speed is not taken into account
2017-04-15 15:59:12 +02:00
ByteHamster
2f5fc1966d
Added more details to statistics mode description
2017-04-15 15:52:46 +02:00
ByteHamster
4e7fef1211
Statistics calculation does not respect playback speed
2017-04-15 15:41:54 +02:00
ByteHamster
769ed8b15e
Renamed type to mode
2017-04-15 15:34:31 +02:00
ByteHamster
acf065b7cd
Added duration to chapters list
...
Closes #2174
2017-04-15 14:32:37 +02:00
Martin Fietz
aad56bea56
Merge remote-tracking branch 'upstream/develop' into develop
2017-04-15 14:32:16 +02:00
Martin Fietz
43ccc0e276
Only use iTunes summary when
...
* no description is set yet OR
* it is clearly more detailed (i.e. longer) than the current description
2017-04-15 14:32:01 +02:00
ByteHamster
a01f0b1b7a
Trimming 'pcast:' without '//'
...
Fixes #2284 (subscribtion through podlove 'Let device decide')
2017-04-15 13:49:01 +02:00