1280 Commits

Author SHA1 Message Date
ByteHamster
719545fd3d Prevent thrashing the database by opening and closing rapidly
Reduces number of real close() calls to the database
from multiple times per second to one single time
2018-05-02 21:52:21 +02:00
mr-intj
7be44370f6 * Using Camel Case for methods
* Use braces on single-line blocks
2018-04-30 14:44:13 -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
ByteHamster
94bf3cd734 I deleted a line accidentally 2018-04-22 20:41:20 +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
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
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
c9a2bbc2c9
Merge pull request #2654 from ydinath/ReplaceDeprecatedLang3Methods
Replace deprecated org.apache.commons.lang3 methods
2018-04-22 09:23:51 +02:00
Martin Fietz
4edaa2e6fc
Merge pull request #2639 from ByteHamster/fix-play-button
Don't pause directly after starting
2018-04-22 09:14:09 +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
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
ydinath
a837485363 Fix formatting 2018-04-21 10:28:16 -04:00
ydinath
8c628d98b9 Replace deprecated org.apache.commons.lang3 methods with org.apache.commons.text methods 2018-04-21 10:27:11 -04:00
ByteHamster
c9fdc05784 Split feed info and settings 2018-04-13 15:39:51 +02:00
ByteHamster
2924955b61 Don't pause directly after starting
When registering the receiver, it immediately receives
a headset unplugged event (broadcast is sticky) and pauses
playback again in some cases. We are only interested in status
changes, so we can just return.

Fixes #2635
2018-04-12 23:12:08 +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
0b96588b10 Using attr icons in preferences 2018-04-11 00:41:44 +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
d757abedbc Removing PiP option for unsupported devices 2018-04-09 22:20:43 +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
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
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
e7ce5c669e Using Bill Pugh Singleton Implementation 2018-04-07 16:21:57 +02:00
ByteHamster
cfaccef2b3 Actually return instance in getInstance
This probably fixes all those "db deleted" issues and mysterious NPEs
Previously, the synchronized keyword on open() and close() was useless
because it was synchronizing on different objects in each thread.
2018-04-06 12:02:03 +02:00
ByteHamster
e41bc7bd61 Showing URL for failed downloads
Closes #1082
2018-04-05 18:25:19 +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
Hannes Achleitner
9e83deb069 Code format just in one file (no logic change) 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
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
9cd9d455c8
Merge pull request #2568 from ByteHamster/crashfix
Fixed crash if media file exists but can not be read
2018-04-01 23:21:27 +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
ByteHamster
97b5779c4a Remove nested if 2018-03-23 15:47:41 +01:00
ByteHamster
5048eb10d2 Use description for shownotes if it is longer than contentEncoded 2018-03-23 15:46:00 +01:00
ByteHamster
afb9f7db6a Fixes empty contentEncoded 2018-03-23 14:33:23 +01:00
ByteHamster
4213d8fc8b Fixed crash if media file exists but can not be read
Happens when exporting db and importing it into debug version
because media files are located in an app-private folder
2018-03-22 22:15:58 +01:00