Commit Graph

4112 Commits

Author SHA1 Message Date
Martin Fietz
d7e1b0f977 Replace StringBuilder with String 2018-01-14 18:02:13 +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
01fa0a56ea Replace manual array t collection copy 2018-01-14 17:59:51 +01:00
Martin Fietz
84b196746b Replace single-argument 'Arrays.asList()' with 'Collections.singletonList()' 2018-01-14 17:58:15 +01:00
Martin Fietz
f8d1f32e9b Replace equals with operator 2018-01-14 17:55:51 +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
33f8ead4a0 Fix error 2018-01-10 22:58:52 +01:00
Martin Fietz
c4d19b7163 Silence warnings 2018-01-10 22:50:56 +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
H. Lehmann
8969e1cbb6
Merge pull request #2532 from AntennaPod/execute_on_executor
Cleanup executeAsync
2018-01-10 15:16:51 +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
Martin Fietz
b1c212c2fc
Merge pull request #2525 from dirkmueller/video_aspect
Set video aspect on initial creation
2018-01-08 22:59:01 +01:00
Martin Fietz
0c662530b9
Merge pull request #2526 from dirkmueller/min_sdk_14
set minSdkVersion to 14
2018-01-08 22:57:03 +01:00
Dirk Mueller
dfa8766754 set minSdkVersion to 14
According to https://developer.android.com/about/dashboards/index.html
API levels of 14 and lower are only on less than 0.5% of the devices.
IMHO it is time to move on, and allow for some compat code cleanup.
2018-01-08 22:12:15 +01:00