Commit Graph

1347 Commits

Author SHA1 Message Date
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
Martin Fietz
648b6c9529 Remove superfluous logging 2018-01-10 23:26:58 +01:00
Martin Fietz
0774ed12e5 Move attributes to edittext 2018-01-10 23:26:20 +01:00
Martin Fietz
214d651735 LinearLayout should use 'layout_height="wrap_content"' 2018-01-10 23:23:22 +01:00
Martin Fietz
249bf9bc18 Do not treat position as fixed 2018-01-10 23:21:53 +01:00
Martin Fietz
c524791c3c Avoid NPEs 2018-01-10 22:44:52 +01:00
Martin Fietz
ce2aeb5e90 Use DecimalFormat 2018-01-10 22:42:59 +01:00
Martin Fietz
92184452e0 'ellipsize=start' and 'lines=1' can lead to crashes 2018-01-10 22:27:07 +01:00
Martin Fietz
ab287fe028 Silence warning 2018-01-10 22:20:31 +01:00
Martin Fietz
36a7261f89 Simplify 2018-01-10 22:16:51 +01:00
Martin Fietz
74b2d439c3 Replace deprecated method 2018-01-10 22:15:47 +01:00
Martin Fietz
5bacbff10b Simplify 2018-01-10 22:04:51 +01:00
Martin Fietz
0238d24216 Replace deprecated method 2018-01-10 22:02:59 +01:00
Martin Fietz
21ac9d158f Avoid NPE 2018-01-10 21:59:13 +01:00
Martin Fietz
ba3eb5e784 Remove assertions 2018-01-10 21:56:08 +01:00
Martin Fietz
220f549711 Reduce visibility 2018-01-10 21:46:11 +01:00
Martin Fietz
0c4a08ac56 Suppress inspection 2018-01-10 21:45:49 +01:00
Martin Fietz
14718a9f51 Custom views extend AppCompatImageView instead of ImageView 2018-01-10 21:45:06 +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
0614b53400
Merge pull request #2533 from AntennaPod/remove_preference_activity_gingerbread
Remove PreferenceActivityGingerbread
2018-01-10 18:17: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
f756cd84d1 Remove unnecessary annotations 2018-01-09 21:06:13 +01:00
Martin Fietz
89366d97d1 Replace code for SDK version lower than 14 2018-01-09 21:03:30 +01:00
Martin Fietz
fe8993803d Replace lambda with method reference 2018-01-09 20:21:57 +01:00
Martin Fietz
df131cdd0d Replace with lambda 2018-01-09 20:20:32 +01:00
Martin Fietz
7e0a958f8a Use guard clause 2018-01-09 20:20:18 +01:00
Martin Fietz
1694432560 Delete PreferenceActivityGingerbread 2018-01-09 20:19:38 +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
Dirk Mueller
32215ffc28 Set video aspect on initial creation
Previously on first start of a video the aspect ratio
was not correct (annoying on a 18:9 phone as
it doesn't match the usual 16:9 aspect ratio). So extract
the code into a setupVideoAspectRatio() helper
and call it from surfaceCreated as well.
2018-01-08 11:20:14 +01:00
ByteHamster
dc316074e8 Simplified onActivityResult 2018-01-07 20:19:29 +01:00
ByteHamster
12456b52de Using FileUtils.copyInputStreamToFile 2018-01-07 20:17:18 +01:00
ByteHamster
4c00f76494 Closing correctly 2018-01-07 20:14:49 +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
ByteHamster
bc9bd0bfcf Style changes and logging 2018-01-07 20:09:28 +01:00
Dirk Mueller
602754104e remove reference to nonexisting onClick callback
This defined onClick callback does not exist, so we
don't need to specify it.
2018-01-07 19:32:10 +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
ByteHamster
2e98119d47 Fixed video view
Bug was introduced in #2457, shared element does not exist in video view
2018-01-06 12:33:38 +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
68754684b7
Merge pull request #2457 from ByteHamster/sharedElement
Shared element transition
2018-01-03 18:52:11 +01:00
seven-master@hotmail.de
80309b42ca Adjust text color; Closes #2466 2018-01-02 20:25:15 +01:00
ByteHamster
3fd3db6c57 Review changes 2017-12-25 22:42:41 +01:00
ByteHamster
b665792d29 Cleanup import/export 2017-12-24 13:11:57 +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
Martin Fietz
f9686ffba7 Prepare for 1.6.4.2 2017-12-11 20:15:46 +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
b84cbe3edd
Merge pull request #2460 from AntennaPod/bugfix/2458-FileUriExposedException
Avoid FileUriExposedException on OPML Import
2017-12-11 20:14:28 +01:00
Martin Fietz
dfa5066de7 Return random filename if sanitized filename would be empty 2017-12-11 20:13:14 +01:00
H. Lehmann
90cc07c9bb Merge pull request #2455 from ByteHamster/metadata
Updated metadata for F-Droid
2017-10-24 20:48:45 +02:00
Martin Fietz
c21f81d034 Remove multidex again 2017-10-22 12:06:17 +02:00
Martin Fietz
64184810ec Remove multidex again 2017-10-22 11:59:15 +02:00
Martin Fietz
ee24c39fca Merge pull request #2461 from ByteHamster/fix-debug-provider
Fix install of debug version by using unique provider
2017-10-22 07:38:29 +02:00
Martin Fietz
325c46715d Merge pull request #2459 from ByteHamster/debug-name
Use different name for debug builds
2017-10-22 07:36:45 +02:00
ByteHamster
82d4dacb11 Fix install of debug version by using unique provider 2017-10-21 23:53:50 +02:00
Martin Fietz
2f5e7a2803 Avoid FileUriExposedException 2017-10-21 23:43:28 +02:00
ByteHamster
997491fc3d Use different name for debug builds 2017-10-21 23:37:03 +02:00
ByteHamster
30c7ca5437 Shared element transition of cover 2017-10-21 21:00:53 +02:00
Martin Fietz
ee50bca545 Refactor 2017-10-21 19:20:18 +02:00
Martin Fietz
eb920d7363 File provider can handle external storage 2017-10-21 17:08:53 +02:00
Martin Fietz
1d17d65bcb Update fyydlin 2017-10-21 12:19:32 +02:00
ByteHamster
89197caf80 Added screenshots 2017-10-20 22:47:44 +02:00
ByteHamster
6785102a63 Deleted outdated changelog metadata 2017-10-20 22:39:01 +02:00
Martin Fietz
7aae71e3ba Merge branch 'develop' into htmlpatch 2017-10-20 20:39:11 +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
cef70063ff Prepare for 1.6.4.1 2017-10-19 22:49:06 +02:00
Martin Fietz
3b77cc61da Fix file sharing 2017-10-19 22:48:24 +02:00
Martin Fietz
a98ed53625 Prevent ArrayIndexOutOfBoundsException 2017-10-19 21:53:21 +02:00
Martin Fietz
557d97b450 Check for null 2017-10-19 20:55:52 +02:00
Martin Fietz
d1eb616800 Check extra text for null 2017-10-19 20:41:11 +02:00
Martin Fietz
014e34e912 Set version code for 1.6.4.0 2017-10-17 22:52:00 +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
ByteHamster
9fa91061ee Merged add_feed_label and add_new_feed_label
Closes #1833
2017-10-15 15:38:50 +02:00
Danial Klimkin
77858ec8df lambdas break old Androids, sigh. 2017-10-15 10:56:03 +02:00
Danial Klimkin
6c8f9bc80e Reworking data dir dialog 2017-10-15 09:31:11 +02:00