Commit Graph

4396 Commits

Author SHA1 Message Date
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
Martin Fietz f3299e7de2
Merge pull request #2587 from jannic/pr
Fix possible NPE accessing image.download_url
2018-03-05 20:28:44 +01: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 fcbadf1e9e Revert "Set background of playerFragment to same color as toolbar"
This reverts commit 2f6c9c49f8.
2018-02-20 22:47:18 +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
ByteHamster d376e462e7 Make feed title selectable 2018-02-14 11:15:15 +01:00
ByteHamster 2fed8ff104 Darken background of feed header
This change only applies to feed items using transparent backgrounds.
The item is darkened but the background keeps transparent, which looks
weird, especially in light theme (have a look at the 34C3 feed)
2018-02-13 00:53:31 +01:00
ByteHamster 2f6c9c49f8 Set background of playerFragment to same color as toolbar
Most noticeable in dark theme
2018-02-13 00:49:00 +01:00
ByteHamster 877ae45592 Removed useless nested layout 2018-02-13 00:22:52 +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
Humberto Fraga ebbf3f754f Setting target SDK to 26 to enable adaptive icons 2018-02-10 16:41:45 -03:00
Martin Fietz c13acc624d
Merge pull request #2557 from ocrow/develop
Fix for #2555 - handle null SSID in WiFi list
2018-02-04 22:05:17 -08:00
Martin Fietz 7ccd19b122
Update CHANGELOG.md 2018-02-04 22:03:04 -08:00
ByteHamster 301bf782a1 Do not flicker when pressing back arrow 2018-02-05 00:16:07 +01:00
ByteHamster 8feb6e087f Make player selectable 2018-02-05 00:14:39 +01:00
Oliver Crow 8090431d30 Fix for #2555 - can't open Preferences activity when there are stored WiFi connections with null SSID. 2018-01-28 18:05:35 -08: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 c79b003dff Prepare for 1.6.4.5 2018-01-22 21:51:43 +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
Martin Fietz 961a68022b
Merge pull request #2546 from gaul/stringbuilder
Prefer StringBuilder over StringBuffer
2018-01-22 08:06:29 +01:00
ByteHamster 8b041be8aa Improved export success wording (Closes #2545) 2018-01-21 23:37:41 +01:00
H. Lehmann 9a7b935613
Merge branch 'develop' into picture-in-picture 2018-01-21 23:10:37 +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
Martin Fietz 34a5d7eb17
Merge pull request #2537 from AntennaPod/refactor
Fix inspection issues
2018-01-21 22:09:43 +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 c64e47dcd6 Change back to old implementation 2018-01-21 19:59:09 +01:00
Martin Fietz dde04c5a01 Use temporary StringBuilder for string concatenation in loop 2018-01-21 13:15:43 +01:00
Martin Fietz b4d8868e9d Revert "Use StringBuilder for string concatenation in loop"
This reverts commit 919ee63c3c.
2018-01-21 13:13:23 +01:00
Martin Fietz 2a792c3c75 Remove useless comment 2018-01-21 13:08:36 +01:00
Martin Fietz db21463730 Add missing spaces 2018-01-21 13:07:28 +01:00
Martin Fietz 86f6c001c1 Inline variables 2018-01-21 13:05:10 +01:00
Martin Fietz 595674a872 Minor refactorings 2018-01-21 13:03:30 +01:00
Martin Fietz a6c33d3b2c Fix style 2018-01-21 13:03:00 +01:00
ByteHamster 06113b0891 Removed unused import 2018-01-21 12:47:17 +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
Martin Fietz 5abaa77551
Merge pull request #2542 from gaul/static-inner-class
Make some inner classes static
2018-01-21 10:03:12 +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 e56e3868da Variable cannot be final 2018-01-14 18:42:26 +01:00