1436 Commits

Author SHA1 Message Date
ByteHamster
fdc5b43ab7 Added unit test for shownotes 2018-03-23 16:01:48 +01:00
Matthew Gaffen
a9f566f3f1 Only write queue order to database on drag release for the podcast queue.
This prevents large numbers of db writes in quick succession. This is a particular problem for large queue lengths. Fixes #2562 and potentially fixed #2573
2018-03-16 11:01:23 +00: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
ByteHamster
fcbadf1e9e Revert "Set background of playerFragment to same color as toolbar"
This reverts commit 2f6c9c49f81ddb735d5241026ee661a3a88b0cd2.
2018-02-20 22:47:18 +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
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
c79b003dff Prepare for 1.6.4.5 2018-01-22 21:51:43 +01:00
H. Lehmann
5526937698
Merge branch 'develop' into picture-in-picture 2018-01-21 22:50:47 +01: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 919ee63c3c2cc68ca4a3d63b6f314f472f2e6e78.
2018-01-21 13:13:23 +01:00
Martin Fietz
db21463730 Add missing spaces 2018-01-21 13:07:28 +01:00
Martin Fietz
595674a872 Minor refactorings 2018-01-21 13:03:30 +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
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
e56e3868da Variable cannot be final 2018-01-14 18:42:26 +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
3cb8f27e49 Remove unnecessary interface modifiers 2018-01-14 18:09:15 +01:00
Martin Fietz
44f80a9831 static modifier is redundant for inner enums 2018-01-14 18:08:48 +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
e02baebf02 Use bulk operation instead of iteration 2018-01-14 18:02:56 +01:00
Martin Fietz
919ee63c3c Use StringBuilder for string concatenation in loop 2018-01-14 18:01:31 +01:00
Martin Fietz
e44a54c965 Remove redundant call to 'String.format()' 2018-01-14 18:00:57 +01:00
Martin Fietz
55e2ac4ebe Remove redundant calls to toString() 2018-01-14 18:00:21 +01:00
Martin Fietz
84b196746b Replace single-argument 'Arrays.asList()' with 'Collections.singletonList()' 2018-01-14 17:58:15 +01:00
Martin Fietz
bf41f1713d Synchronization field must be final 2018-01-14 17:55:25 +01:00
Martin Fietz
7d98db8321 Collapse empty tag 2018-01-14 17:53:52 +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
26b938ce5b Replace statement lambda with expression lambda 2018-01-14 17:48:52 +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
7257a6c76e Refactor 2018-01-13 17:36:04 +01:00
ByteHamster
39c47da07d Fixed backstack when pressing up arrow 2018-01-11 14:07:15 +01:00
Martin Fietz
648b6c9529 Remove superfluous logging 2018-01-10 23:26:58 +01:00