summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2018-03-04Fix possible NPE accessing image.download_urlJan Niehusmann
May fix #2386. If so, thanks to @cyplo who provided the logcat output which directed me to that code path.
2018-01-24Merge pull request #2550 from ByteHamster/download-rangeMartin Fietz
Hotfix for servers not accepting the Range header
2018-01-23Hotfix for servers not accepting the Range headerByteHamster
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-22Merge pull request #2549 from AntennaPod/bugfix/corrupt-databaseMartin Fietz
Synchronize opening and closing of the database
2018-01-22Synchronize opening and closing of the databaseMartin Fietz
2018-01-22Merge pull request #2547 from ByteHamster/improve-export-namingH. Lehmann
Improved wording (Closes #2545)
2018-01-21Improved export success wording (Closes #2545)ByteHamster
2018-01-21Merge branch 'develop' into stringbuilderMartin Fietz
2018-01-21Prefer StringBuilder over StringBufferAndrew Gaul
The latter has unnecessary synchronization. Found via error-prone.
2018-01-21Remove useless commentMartin Fietz
2018-01-21Inline variablesMartin Fietz
2018-01-21Fix styleMartin Fietz
2018-01-21Merge branch 'develop' into refactorMartin Fietz
# 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-21Update translationsMartin Fietz
2018-01-21Merge pull request #2445 from ByteHamster/exportMartin Fietz
Database import/export
2018-01-21Merge pull request #2543 from gaul/static-finalMartin Fietz
Make some static fields final
2018-01-20Make some static fields finalAndrew Gaul
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-20Make some inner classes staticAndrew Gaul
This avoids an implicit this field and can help GC. Found via error-prone.
2018-01-19PlayerStatus and playable fields cannot be finalMartin Fietz
2018-01-14Add throws to avoid interface clashMartin Fietz
2018-01-14Remove catch for exception that is never thrownMartin Fietz
2018-01-14Merge folder configurationMartin Fietz
2018-01-14Lookup service via application context to avoid memory leakMartin Fietz
2018-01-14Remove unnecessary interface modifiersMartin Fietz
2018-01-14Remove redundant throws clausesMartin Fietz
2018-01-14Add final modifiersMartin Fietz
2018-01-14Weaken declaration accessMartin Fietz
2018-01-14Fix pointless arithmetic expressionMartin Fietz
2018-01-14Replace StringBuilder with StringMartin Fietz
2018-01-14Replace manual array t collection copyMartin Fietz
2018-01-14Remove unused importsMartin Fietz
2018-01-14Replace for loop with foreachMartin Fietz
2018-01-14Replace explicit type with <>Martin Fietz
2018-01-14Replace lambda with method referenceMartin Fietz
2018-01-14Replace anonymous type with lambdaMartin Fietz
2018-01-10Fix errorMartin Fietz
2018-01-10Silence warningsMartin Fietz
2018-01-10Remove assertionsMartin Fietz
2018-01-10Merge pull request #2534 from AntennaPod/sdk_int_lt_14H. Lehmann
Replace code for SDK version lower than 14
2018-01-10Merge pull request #2531 from AntennaPod/remove_nineoldandroidsH. Lehmann
Replace ViewHelper
2018-01-09Replace code for SDK version lower than 14Martin Fietz
2018-01-09Cleanup executeAsyncMartin Fietz
2018-01-09Replace ViewHelperMartin Fietz
2018-01-07Merge pull request #2520 from dirkmueller/include_cleanupMartin Fietz
Cleanup order/remove unused includes
2018-01-07Cleanup order/remove unused includesDirk Mueller
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-07Fix small whitespace errorDirk Mueller
This causes Android Lint to barf as it can not detect the VIBRATE permission being requested.
2018-01-07Return START_STICKY from onStartCommand()Dirk Mueller
The _FLAG_ variant is the input enum, replace it with the value-equivalent properly typed enum.
2018-01-04Merge pull request #2333 from ByteHamster/item-heightMartin Fietz
Improved list items when using a large font size
2018-01-04Merge pull request #2339 from ByteHamster/save-file-urlMartin Fietz
Setting File_url when starting download
2018-01-03Update translationsMartin Fietz