Commit Graph

1776 Commits

Author SHA1 Message Date
Martin Fietz 6ab0277bb5 Fix proguard warning 2018-10-11 20:11:26 +02:00
Martin Fietz 8d1a2cdf94 Add proguard config for awaitility 2018-10-11 20:10:14 +02:00
Martin Fietz 32b83a1760
Merge pull request #2848 from egsavage/feature/2829-map-queues-time-left-to-current-playback-speed
Resolves #2829 - Make queue remaining time sensitive to playback speed
2018-10-11 19:09:24 +02:00
Martin Fietz de16a40691 Update translations 2018-10-08 18:34:24 +02:00
egsavage 98a19f0235 Resolves #2829 - Make queue remaining time sensitive to playback speed 2018-10-07 19:48:31 -04:00
sevenmaster df8024bb3e added icons in settings 2018-10-04 09:23:17 +02:00
Martin Fietz 20328dbd97 Fix fyyd 2018-09-30 20:33:40 +02:00
Martin Fietz 3de661d953 Migrate rxjava to version 2 2018-09-30 19:58:53 +02:00
Martin Fietz 340fbfb231
Merge pull request #2666 from orionlee/mark_as_seen_in_context_menu_2580
Expose "Mark as seen" as a context menu item in Episodes screen
2018-09-27 17:32:30 +02:00
ByteHamster 9fee2110c7 Implemented number picker preference 2018-09-26 16:59:51 +02:00
Marc Lasson 2d1045cacf Fix typo 2018-09-08 15:52:16 +02:00
H. Lehmann 9512c0133f
Merge pull request #2785 from keunes/patch-1
Update (preference) strings
2018-09-04 23:45:08 +02:00
H. Lehmann 1d265a9c3a
Database access threading (#2781) 2018-08-06 23:38:37 +02:00
Koen Glotzbach c88df8064c
Put 'mobile updates' above 'parallel downloads' 2018-07-29 15:54:19 +02:00
Koen Glotzbach d9ef971461
Move 'mobile updates' to 'details' section 2018-07-29 12:58:02 +02:00
H. Lehmann 4d79e44aa3
Merge pull request #2765 from ByteHamster/runtime-permissions
Requesting storage permissions for external files
2018-07-26 11:52:18 +02:00
H. Lehmann f68364d6fc
Merge pull request #2778 from ByteHamster/about-screen
Improved about screen
2018-07-26 11:49:53 +02:00
ByteHamster 7e05ff2a4e Theming support for about screen 2018-07-26 10:26:00 +02:00
ByteHamster 14ca32a624 Simplifications 2018-07-25 23:19:25 +02:00
ByteHamster 66fc848fe9 Fixed options menu persisting (Closes #2776) 2018-07-25 16:23:20 +02:00
ByteHamster aa2ec1687f better landscape view 2018-07-25 16:18:19 +02:00
ByteHamster f9eb2f839b Improved about screen 2018-07-25 16:02:44 +02:00
Martin Fietz 0cb8c85e02 Preprare for 1.6.6 2018-07-22 18:40:41 +02:00
Martin Fietz e1b0da978d Update translations 2018-07-22 18:37:37 +02:00
Martin Fietz 9646cc883c
Merge pull request #2655 from ByteHamster/exo-player
Added ExoPlayer
2018-07-22 18:22:16 +02:00
H. Lehmann fc2bd0e19b
Merge pull request #2760 from ByteHamster/delete-item
Improve item deletion
2018-07-15 15:43:42 +02:00
ByteHamster c2184cfab2 Merge branch 'develop' into exo-player 2018-07-13 19:26:09 +02:00
ByteHamster 0d43cc8658 Requesting storage permissions for external files 2018-07-13 18:29:05 +02:00
H. Lehmann 740e202d7f
Merge pull request #2763 from ByteHamster/download-actions
Allow to add to queue from downloads section
2018-07-13 17:27:54 +02:00
ByteHamster 235b81d40a Allow to add to queue from downloads section 2018-07-13 10:52:58 +02:00
ByteHamster cc645c5fb1 Only prevent deletion if PlaybackService is running (Closes #2759) 2018-07-13 09:18:12 +02:00
ByteHamster 8a0769d466 Better feed parser errors 2018-07-06 10:10:21 +02:00
ByteHamster 3d1646c205 Merge branch 'develop' into exo-player 2018-07-04 23:53:02 +02:00
Tobias Preuss 8600a3acdd Render preview for all episodes layout with sample data. 2018-06-27 00:28:46 +02:00
H. Lehmann c9c2e68d7b
Merge pull request #2718 from ByteHamster/broadcasts
Limit broadcasts to current app
2018-06-26 17:31:42 +02:00
H. Lehmann ac2acc65c3
Merge branch 'develop' into remove-unused-code 2018-06-08 20:27:11 +02:00
ByteHamster 83a9df2657 Merge branch 'develop' into exo-player 2018-06-08 20:14:57 +02:00
H. Lehmann f0151501a5
Merge pull request #2726 from ByteHamster/feedimage
Removed FeedImage
2018-06-08 20:13:36 +02:00
Martin Fietz f933cd226b
Merge pull request #2728 from ByteHamster/alifeflow-develop
True Black Theme for AMOLED
2018-06-06 21:53:10 +02:00
ByteHamster 1b84cbbef1 Merge branch 'develop' into feedimage 2018-06-06 17:25:05 +02:00
ByteHamster bb716ce9ea Moved playing background into attr 2018-06-06 16:32:41 +02:00
ByteHamster 2a8408d84d Merge branch 'develop' of https://github.com/alifeflow/AntennaPod into alifeflow-develop 2018-06-06 16:09:15 +02:00
ByteHamster dcb215ad70 Removed unused imports 2018-06-06 16:07:40 +02:00
ByteHamster 9cf71f85b9 Using utils 2018-06-06 16:05:05 +02:00
ByteHamster abb13dc447 Database scheme update 2018-06-06 00:07:21 +02:00
ByteHamster ba2233430e Removed FeedImage 2018-06-05 23:52:19 +02:00
ByteHamster 02186a3f0d Limit broadcasts to current app 2018-05-29 23:25:19 +02:00
ByteHamster 9df23ebbf6 Removed unused code 2018-05-27 20:07:29 +02:00
H. Lehmann f73a64050d
Merge pull request #2710 from ByteHamster/preferences-test
Fixed most preference tests
2018-05-27 19:09:11 +02:00
ByteHamster 5f46182151 Added manual scrolling 2018-05-27 18:54:53 +02:00
ByteHamster 920f061385 Fixed build 2018-05-26 23:49:47 +02:00
H. Lehmann 532d822b3c
Merge branch 'develop' into exo-player 2018-05-26 23:45:18 +02:00
H. Lehmann cd0d23d260
Merge pull request #2638 from ydinath/AboutActivityCleanup
About activity cleanup
2018-05-26 23:40:36 +02:00
H. Lehmann 39a462431f
Merge pull request #2667 from ByteHamster/api-26-support
Api 26 support
2018-05-26 23:39:35 +02:00
ByteHamster 9ce48bd86b Added a refreshAllFeeds method without callback 2018-05-26 23:20:47 +02:00
ByteHamster 3edbbe8c53 Moved notification utils to other package 2018-05-26 23:13:16 +02:00
ByteHamster 577f400a36 Fixed some of the preference tests 2018-05-26 23:08:16 +02:00
ByteHamster cddc1a7354 Improve autodownload in search 2018-05-18 11:54:53 +02:00
H. Lehmann 48294a9f18
Merge pull request #2669 from orionlee/build_tweak_dexcount_optional_in_debug
Build tweak: Speed up debug build by making dexcount optional in debug build
2018-05-14 20:56:20 +02:00
orionlee 0f1dfd0547 dexcount: remove dated comments 2018-05-14 10:55:47 -07:00
orionlee 4d4b1f9c17 make dexCount defaulted to disabled in debug build per reveiw feedback 2018-05-13 15:07:07 -07:00
amhokies 5fe060506a Issue #2680: Display time left in queue info bar 2018-05-10 21:25:36 -04:00
ByteHamster 407f92be12 Merge branch 'develop' into api-26-support 2018-05-07 20:02:07 +02:00
ByteHamster 3b445c3403 Re-enabled flattr 2018-05-07 18:11:43 +02:00
ByteHamster ea96e239fa Updated library 2018-05-07 18:09:07 +02:00
ByteHamster f8950ae9b8 Add search function to preferences 2018-05-07 00:06:38 +02:00
ByteHamster 4787e2ecc9 Fixed starting with DefaultActionButtonCallback 2018-05-06 20:07:35 +02:00
ByteHamster f6082f5808 Using builder to call PlaybackService 2018-05-06 19:46:31 +02:00
ByteHamster cb70aeb3cf Code style improvements 2018-05-06 19:15:40 +02:00
ByteHamster 61f8000352 Using callback instead of sync/async methods 2018-05-06 18:52:16 +02:00
Martin Fietz f6faca95c0
Merge pull request #2673 from ByteHamster/preference-support
Switched to PreferenceFragmentCompat
2018-05-06 17:45:25 +02:00
ydinath 274230ad25 Use filename instead 2018-05-05 18:07:51 -04:00
ydinath ce1f0620fe Fix back press issue 2018-05-05 17:35:43 -04:00
orionlee 221ca84aaf Remove comments per @mfietz feedback. 2018-05-05 13:45:23 -07:00
Martin Fietz e04e537829
Merge pull request #2674 from ByteHamster/delete-while-playing
Prevent deletion of currently playing item
2018-05-05 18:21:14 +02:00
ByteHamster 1628360c4b Prevent deletion of currently playing item
Was already prevented in the download list but not on the details fragment.
Added alpha to make disabled state clear.

Closes #2285
2018-05-05 17:19:37 +02:00
ByteHamster 7107819a6a Moved widget from app to core 2018-05-05 14:04:12 +02:00
ByteHamster 902068723c Added ExoPlayer to about section 2018-05-05 13:46:17 +02:00
ByteHamster 0b54d97a0a Switched widget to JobIntentService 2018-05-05 13:39:57 +02:00
H. Lehmann dacd7787bc
Merge pull request #2664 from orionlee/share_link_improvement_2579
Share link improvement 2579
2018-05-04 23:31:39 +02:00
ByteHamster c3510d821d Moved Flattr/gpodder to their own files 2018-05-04 19:07:17 +02:00
ByteHamster 686801fea2 Switched to PreferenceCompat 2018-05-04 19:06:32 +02:00
ByteHamster f66e19845c Review changes 2018-05-04 14:36:32 +02:00
orionlee 2e38cf3a40 Build tweak: Speed up debug build by making dexcount optional in debug
build, configured with a new gradle property enableDexcountInDebug.
2018-05-03 14:00:48 -07:00
ByteHamster 2190101cf9 Added JobScheduler for feed updates 2018-05-03 19:11:30 +02:00
ByteHamster 3e98ab61ea Start PlaybackService lazily to allow using ForegroundService 2018-05-03 19:11:30 +02:00
ByteHamster 7ad176ce29 Added notification categories
Android treats IMPORTANCE_DEFAULT as IMPORTANCE_HIGH
https://issuetracker.google.com/issues/65108694
2018-05-03 19:11:28 +02:00
orionlee 4c7531d277 Flatten nested ifs, per @ByteHamster feedback 2018-05-02 13:53:56 -07:00
orionlee 9dcbddf371 Issue #2580: Expose "Mark as seen" as a context menu item in Episode
screen, in addition to the existing swipe in Episode > New tab.
2018-05-02 13:15:14 -07:00
orionlee 345fcc17d0 FeedItem Visit Website tweak: use feed website as a fallback,
analogous to how share FeedItem link work.
Applicable to both feed playback screen and feed information screen.
2018-04-30 15:44:19 -07:00
orionlee 36507eb506 Provide share Link in episode information screen, similar to episode playback screen. 2018-04-30 15:14:58 -07:00
orionlee 4bba6b30a1 Issue #2579: Provide share Link in episode playback screen even
when the episode has no link - Use podcast link as the fallback.
Also bug fix share link with position: to include epsiode
and podcast title.
2018-04-30 15:03:04 -07:00
mr-intj 91120d98a4 Added "Random" and "Smart Shuffle" items at the bottom of the Queue|Sort menu.
Added "Permutor" interface to allow specification of reordering logic to be specified in QueueSorter (vs. DBWriter), similar to the existing sort logic.

Added "Random" and "Smart Shuffle" strings to core/src/main/res/values (did not add translations for non-English languages)

Closes #2366, Closes #2602
2018-04-27 17:30:40 -07:00
ydinath bb5f459744 Respect coding standard 2018-04-24 04:48:44 -04:00
ydinath 921665167f canGoBack doesn't work consistently when using loadDataWithBaseURL. Update old logic to allow depth > 1.
https://stackoverflow.com/questions/2686933/android-webview-can-render-html-going-forward-but-not-backward
https://stackoverflow.com/questions/14948652/webview-cangoback-not-working-when-using-loaddatawithbaseurl/15074071#15074071
2018-04-23 20:23:39 -04:00
ByteHamster 2bc3ca711c Merge branch 'develop' into exo-player 2018-04-22 21:33:19 +02:00
ByteHamster 9d3d92cc9d Fixed crash when changing settings
Looking at Fragment1, clicking Fragment2
Fragment2.onCreate
Fragment2.onResume
Fragment1.onPause <- This sets PreferenceUI to Fragment1, so onClickListeners
                     in Fragment2 now have a reference to the wrong fragment
2018-04-22 21:31:48 +02:00
ByteHamster c977e70106 Removed duplicate String 2018-04-22 20:49:41 +02:00
ByteHamster 8b72f35147 Merge branch 'develop' into exo-player 2018-04-22 20:48:00 +02:00
Martin Fietz e9695a426f
Merge pull request #2634 from ByteHamster/preference-rework
Preferences rework
2018-04-22 20:35:13 +02:00
ByteHamster f2ee5d7ff2 Renamed Services to Integrations 2018-04-22 19:20:11 +02:00
ByteHamster 74a8d34354 Added network icon 2018-04-22 19:16:03 +02:00
ByteHamster 1690bd64cc Actually renamy downloads to network 2018-04-22 19:00:07 +02:00
ByteHamster 610b1c05e1 Renamed downloads to network 2018-04-22 18:53:36 +02:00
ByteHamster 03f1af6ad4 Disable items correctly in autodownload 2018-04-22 18:51:10 +02:00
ByteHamster bb42ddbd56 MasterSwitchPreference 2018-04-22 18:41:43 +02:00
ByteHamster a64c996e9c Moved autodownload to new file 2018-04-22 18:12:40 +02:00
ByteHamster 33e695b519 Automation category 2018-04-22 17:49:20 +02:00
Martin Fietz e12751986b
Merge pull request #2564 from xisberto/adaptive_icon
Adaptive icon
2018-04-22 17:25:33 +02:00
ByteHamster 56aa64725c Merge branch 'develop' into preference-rework 2018-04-22 10:01:46 +02:00
Martin Fietz a4a7c9ebb9
Merge pull request #2657 from ByteHamster/more-invalid-positions
Ignore more invalid positions
2018-04-22 09:58:02 +02:00
ByteHamster 6d3fc04f52 Merge branch 'develop' into exo-player 2018-04-22 09:43:59 +02:00
ByteHamster d78191c8e8 Ignore more invalid positions 2018-04-22 09:37:54 +02:00
Martin Fietz 0a4bdfe65a
Merge pull request #2656 from ByteHamster/mark-all-played
Added warning to 'Mark all played'
2018-04-22 09:37:10 +02:00
Martin Fietz ff22099b88
Merge pull request #2641 from ByteHamster/feed-info-and-settings
Split feed info and settings
2018-04-22 08:59:39 +02:00
Martin Fietz 2cb4656d12
Merge pull request #2636 from ByteHamster/feature-graphic
Added feature graphic
2018-04-22 08:47:28 +02:00
Martin Fietz cca1de8d0d
Merge pull request #2637 from ByteHamster/apply-actions
Changed batch edit icon and name
2018-04-22 08:29:24 +02:00
Martin Fietz a9e269b3bf
Merge pull request #2506 from ByteHamster/picture-in-picture
Added Picure in picture
2018-04-22 08:07:05 +02:00
Martin Fietz 1cc72b3728
Merge pull request #2629 from ByteHamster/different-string
Split up two different uses of the string 'New'
2018-04-22 08:02:51 +02:00
ByteHamster f022ddaf8f Added warning to 'Mark all played'
Closes #2643
2018-04-21 19:11:24 +02:00
ByteHamster d50dcac96e Added ExoPlayer setting 2018-04-21 17:58:14 +02:00
ydinath fd13603be6 Use single instead of fromCallable 2018-04-20 21:27:24 -04:00
heckler01 3e10e50741 Remove unncessary inport 2018-04-20 21:27:23 -04:00
heckler01 0499ef60ac Fix typos 2018-04-20 21:27:21 -04:00
heckler01 4c014bd3e3 Remove unnecessary version check 2018-04-20 21:27:20 -04:00
heckler01 b3d8a4c69f Let webview handle if it can go back. When navigating the links, depth would increment, but never return to 0, and then get stuck on the about page. 2018-04-20 21:27:18 -04:00
heckler01 00ace172fc Replace deprecated create((Observable.OnSubscribe<T>) 2018-04-20 21:27:16 -04:00
ByteHamster cf2422b1db Ignore invalid position updates
Closes #2642
2018-04-17 14:40:37 +02:00
alifeflow 12ee8d89b2 [True Black] Fix UI Elements
Add true black style for progress bar
Add true black style for item description
Add true black style for web description
2018-04-14 15:05:37 +09:00
alifeflow deb2cea72f [True Black] Cleaning up Code
Remove unused imports and redundant values
Coding style adjustment
2018-04-14 14:28:28 +09:00
ByteHamster 7626f14d52 Allow to select text 2018-04-13 16:26:31 +02:00
ByteHamster fa091f6b09 Don't show keyboard when opening feed settings 2018-04-13 16:24:22 +02:00
ByteHamster a1ce4f8b6f Use better header in feed info and settings 2018-04-13 16:23:01 +02:00
ByteHamster e786e0bae1 Moved info and settings button closer together 2018-04-13 16:03:01 +02:00
ByteHamster c9fdc05784 Split feed info and settings 2018-04-13 15:39:51 +02:00
ByteHamster 184a35ecc4 Added feature graphic 2018-04-12 14:01:59 +02:00
ByteHamster c5bdf341fa Changed batch edit icon and name
Closes #1146
2018-04-11 17:15:59 +02:00
ByteHamster 0f80fac680 Allow to continue playback when leaving player 2018-04-11 12:15:49 +02:00
ByteHamster b1622fa6be Revert rename of setupFlavoredUI 2018-04-11 01:09:43 +02:00
ByteHamster 0b96588b10 Using attr icons in preferences 2018-04-11 00:41:44 +02:00
ByteHamster 6957cc9e27 Re-enabled preference setup methods 2018-04-11 00:30:42 +02:00
ByteHamster 7013bfc1eb Sort order of preferences 2018-04-10 23:53:19 +02:00
ByteHamster 1afe8888d1 Changed icons 2018-04-10 23:50:32 +02:00
ByteHamster 5a2dca2840 Removed misc settings 2018-04-10 23:41:41 +02:00
ByteHamster 8ad9ef6c19 Added categories 2018-04-10 23:33:04 +02:00
ByteHamster 47909464af Extracted string resources 2018-04-10 22:14:25 +02:00
ByteHamster cf3def7cd5 Move 'counter' setting from 'adjust menu' to UI settings 2018-04-10 22:09:54 +02:00
ByteHamster 12ac9c9fc2 Added preference screens 2018-04-10 20:18:23 +02:00
ByteHamster b5a8fe0a1b Using compat method 2018-04-09 22:30:43 +02:00
ByteHamster d757abedbc Removing PiP option for unsupported devices 2018-04-09 22:20:43 +02:00
Martin Fietz 9b20aeaedd Prepare for 1.6.5 2018-04-09 20:03:16 +02:00
ByteHamster 64221f7f56 Allow to enter PiP automatically 2018-04-09 19:43:50 +02:00
ByteHamster 562bbf21f0 Split up two different uses of the string 'New'
Closes #2348
2018-04-09 18:33:06 +02:00
ByteHamster 1831430a6e Added checks for PiP support 2018-04-09 00:04:02 +02:00
ByteHamster 0a5a31a169 Merge branch 'develop' into picture-in-picture 2018-04-08 23:23:03 +02:00
Martin Fietz 4e63bfb11c Update translations 2018-04-07 18:03:49 +02:00
Martin Fietz 18ad76fd43 Prepare for 1.6.5-RC1 2018-04-07 17:58:42 +02:00
Martin Fietz ccd29a9991
Merge pull request #2618 from hannesa2/AndroidStudio_3.1
update to AndroidStudio 3.1
2018-04-07 17:49:24 +02:00
Martin Fietz c5e99c92b3
Merge pull request #2626 from ByteHamster/failed-url
Showing URL for failed downloads
2018-04-07 17:34:52 +02:00
ByteHamster ce60f2fd0b Removed unneeded background 2018-04-07 16:32:35 +02:00
Martin Fietz 396d9c41a6
Merge pull request #2625 from ByteHamster/focus
Allow to focus settings button
2018-04-05 18:48:09 +02:00
Martin Fietz 3dc2fc16c9
Merge pull request #2624 from ByteHamster/opml-import
Added OPML import option next to the export option
2018-04-05 18:47:14 +02:00
Martin Fietz 57b7b094bd
Merge pull request #2623 from ByteHamster/webview-cache
Even use expired cache if there is no network
2018-04-05 18:46:16 +02:00
Martin Fietz 5983e12a35
Merge pull request #2622 from ByteHamster/opml-success-message
Use generic export message instead of OPML
2018-04-05 18:45:36 +02:00
ByteHamster e41bc7bd61 Showing URL for failed downloads
Closes #1082
2018-04-05 18:25:19 +02:00
ByteHamster b699279a33 Allow to focus settings button
Without this change, it seems like the sidebar is not usable
by using arrow keys only.

Related to #445.
2018-04-05 17:45:36 +02:00
ByteHamster 15d93f01c9 Added OPML import option next to the export option
Fixes #2315
2018-04-05 17:09:16 +02:00
ByteHamster 8016a35193 Even use expired cache if there is no network
Closes #2260
2018-04-05 16:57:48 +02:00
ByteHamster 67b01f6ec8 Use generic export message instead of OPML
The same message is shown for HTML and OPML. Fixes #2462.
Additionally, using string formatting now instead of just "+"
2018-04-05 16:26:01 +02:00
ByteHamster 999142a8f7 Added scrolling to Import/Export
Fixes #2582
2018-04-05 16:03:03 +02:00
Hannes Achleitner 0f9fe833bc update some libs 2018-04-04 13:52:30 +02:00
Hannes Achleitner 3138505027 Simplify build 2018-04-04 13:52:30 +02:00
Hannes Achleitner 3c7f08db08 replace old ActionBarActivity with AppCompatActivity 2018-04-04 13:52:30 +02:00
Hannes Achleitner 7afde2528a fix contentprovider authority for release 2018-04-04 13:52:30 +02:00
Hannes Achleitner 3ab4ad2a35 update to AndroidStudio 3.1 2018-04-04 13:52:30 +02:00
Martin Fietz 43f450433e
Merge pull request #2607 from ByteHamster/content-encoded
Fixes empty contentEncoded
2018-04-03 21:59:02 +02:00
ByteHamster 02da84b93a Merge remote-tracking branch 'upstream/develop' into picture-in-picture 2018-04-02 22:19:09 +02:00
ByteHamster 878428f3a9 Only stop videoControlsHider when actually stopping 2018-04-02 22:18:40 +02:00
ByteHamster bde6e316fc Clarified test cases 2018-04-02 21:30:51 +02:00
ByteHamster 68a0373d9f Merge remote-tracking branch 'upstream/develop' into layout-improvements 2018-04-02 21:13:39 +02:00
ByteHamster 146ec02395 Extracted color resource 2018-04-02 21:13:13 +02:00
Martin Fietz 894c7b6360
Merge pull request #2598 from orionlee/upgrade_android_gradle_plugin_v3
Upgrade android gradle plugin v3
2018-04-01 23:19:44 +02:00
alifeflow 05f923ebe2 [Ture Black] True Black Theme for AMOLED
Add true black themese
Modified code that fails to support three themes
2018-03-25 16:02:35 +09:00
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 2f6c9c49f8.
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 919ee63c3c.
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
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
ByteHamster 2831ec69d9 Fixed strange behavior when re-launching from PiP 2018-01-10 21:02:53 +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
ByteHamster 10f50ab264 Cleanup 2018-01-09 18:16:30 +01:00
ByteHamster 12c0939792 Do not open full activity from PiP mode 2018-01-09 17:33:56 +01:00
ByteHamster 8852afc70d Centered seekBar 2018-01-09 09:27:41 +01:00
ByteHamster 629ad7e850 Fixed black padding when returning from pip
onConfigurationChanged returned slightly wrong size
2018-01-09 09:18:22 +01:00
ByteHamster fa93fbc16d Removed v14 compatibility code 2018-01-09 09:00:25 +01:00
ByteHamster 8ab64d516a Hide controls when entering PiP 2018-01-09 08:57:40 +01:00
ByteHamster d42330bc7e Fixed flickering when resizing 2018-01-09 08:00:22 +01:00
ByteHamster fbb5f28737 Allow to touch space next to video player 2018-01-09 08:00:22 +01:00
ByteHamster 7e72ff0b0e Fixed scaling of video 2018-01-09 08:00:22 +01:00
ByteHamster bad964508a Added configChanges 2018-01-09 08:00:22 +01:00
ByteHamster c5d1d5408b Added Picure in picture 2018-01-09 08:00:22 +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
Martin Fietz eddc0a6a13 Merge branch 'develop' 2018-01-02 20:42:34 +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
Martin Fietz 717a1ec00e Merge tag '1.6.4.1' 2017-10-24 21:01:36 +02: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