Commit Graph

1186 Commits

Author SHA1 Message Date
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 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
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
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