Commit graph

335 commits

Author SHA1 Message Date
Tobias Groza
1df5aa90f1 Merge pull request #4921 from Isira-Seneviratne/Call_offsetDateTime_instead_of_date
Call DateWrapper's offsetDateTime() instead of date().
2020-11-20 15:58:22 +01:00
TacoTheDank
290751ba78 Correct some other small lints 2020-11-19 18:54:27 -05:00
Isira Seneviratne
87b42da845 Call DateWrapper's offsetDateTime() instead of date(). 2020-11-19 18:37:07 +05:30
TacoTheDank
c1aca23fa4 Lint: Redundant 'new' expression in constant array creation 2020-11-18 17:52:30 -05:00
TacoTheDank
497e145c70 Lint: Make a bunch of stuff final 2020-11-18 17:50:00 -05:00
Stypox
265896a07e Fix switching to main player when MainActivity is closed 2020-11-08 10:00:28 +01:00
Stypox
429ba53016 More fixes with opening VideoDetailFragment 2020-11-08 10:00:28 +01:00
Stypox
72f25383bd Unify all ways of opening VideoDetailFragment 2020-11-08 10:00:27 +01:00
Isira Seneviratne
a7e248d12b Switch to the Java 8 Date/Time API. 2020-11-05 15:02:51 +05:30
Isira Seneviratne
bda8caa510 Use Comparator's comparing(), nullsLast() and reversed() methods. 2020-11-01 14:44:04 +05:30
TacoTheDank
dfefb90d26 Fix some version checks to use android.os.Build 2020-10-31 15:54:02 -04:00
bopol
ca029eba3f polish strings, fix build error 2020-10-26 17:01:55 +01:00
Tobias Groza
7391557c39 Merge pull request #4549 from Stypox/fix-showMiniPlayer
Fix IllegalStateException after onSaveInstanceState
2020-10-23 21:58:20 +02:00
vkay94
d7547fb196 Fix PlaylistAppendDialog: Renamed method and replaced with Runnable 2020-10-23 09:44:26 +02:00
vkay94
0f720b6e97 Fix PlaylistAppendDialog showing when no local playlists exist 2020-10-23 09:44:26 +02:00
mitosagi
495d6cfe29 Translate the numeric notation 2020-10-18 11:01:06 +09:00
Stypox
28c83143ad Fix IllegalStateException after onSaveInstanceState 2020-10-17 16:13:42 +02:00
Isira Seneviratne
666563faf7 Use ContextCompat.startForegroundService(). 2020-10-09 08:52:05 +05:30
Isira Seneviratne
3da55d9f40 Use ContextCompat.getSystemService() and the Context.getSystemService() extension function. 2020-10-09 08:52:05 +05:30
vkay94
a67ee0ebb0 Enqueue: Renamed string resource 2020-10-06 21:17:52 +02:00
vkay94
ab7af976e9 Enqueue: Removed unneeded dialog-entries and strings + adjustments 2020-10-06 17:22:12 +02:00
vkay94
994b8369b8 Enqueue: Replaced specific StreamDialogEntry items with one
The enqueue options won't be shown in the dialogs if the Player service is not running. When it's running one item (enqueue stream) will be shown and enqueues the item into the Player type which is currently selected.
2020-10-06 14:38:48 +02:00
vkay94
8d9b451070 Enqueue: Add auto-select StreamDialogEntry for current PlayerType 2020-10-06 13:33:44 +02:00
bopol
f2a3c6d211 update to PrettyTime 4.0.6
fixes #4324
2020-10-03 19:04:44 +02:00
Avently
9d7e9c79ca Added comments and improved the code 2020-09-30 00:49:34 +03:00
Avently
94fe0d1a0c Player will be rebound when needed, prev/next/queue buttons, preserving paused state
- each time something starts to play in any player VideoDetailFragment will be started (if not yet started) and mini player will show up. It makes possible to see a playing stream in mini player even if the stream was started without using fragment or after player service was closed somehow
- play/next/queue buttons will be updated in realtime when stream was added/removed from queue instead of waiting for a onPlay/onPause action to happen
- when popup or background players start the stream will start playing only if paused state wasn't requested. Which means, for example, if a user opens popup it will be started when START_PAUSED is false. If, for example, the stream was played in main player and then popup was started the stream will still be playing, but if it was paused it still be paused in popup (or background) in APPEND_ONLY mode (but will be playing on new queue initialization)
2020-09-29 06:22:53 +03:00
Avently
96881c44d3 Merged 'dev' branch 2020-09-27 15:04:20 +03:00
Avently
0d5cc050ef Reimagined player positioning 2020-09-15 14:43:43 +03:00
Stypox
e861be10d9 Merge branch 'dev' into pr3178 2020-09-08 23:58:10 +02:00
Stypox
4e427e1f69 Fix notification content intent not being updated when needed 2020-09-08 22:00:28 +02:00
Stypox
0c812c0680 Merge pull request #4154 from avently/video-placement
Prevent jumping of the player and wrong padding on devices with cutout
2020-09-08 19:47:09 +02:00
Stypox
044190d5d9 Extract duplicate setActivityTitle code to own function 2020-09-07 15:28:38 +02:00
TacoTheDank
7db90c0561 Clean up SDK version checks 2020-09-06 12:55:30 +02:00
TacoTheDank
0ef2e07cf4 Some general-purpose lint cleanup 2020-09-06 12:55:26 +02:00
TacoTheDank
7795a5f733 Fix some lambdas 2020-09-06 12:52:43 +02:00
TacoTheDank
61c10ad427 Use AndroidX preference 2020-09-06 12:52:42 +02:00
Avently
44c125f0a5 Moved device-specific code into DeviceUtils 2020-09-03 15:48:17 +03:00
wb9688
25b56bf5e4 Use final where possible 2020-08-16 10:25:09 +02:00
Avently
5cd7ca5dab AndroidTvUtils -> DeviceUtils 2020-07-21 01:43:49 +03:00
Avently
d0cb338abc Merged the latest changes 2020-07-21 01:37:36 +03:00
wb9688
158b91e2ec Remove calls to getNextStream() 2020-07-14 21:27:59 +02:00
Avently
a6894644d1 Made checkStyle happy 2020-07-14 20:21:32 +03:00
Avently
aef78ace88 Merged the latest changes 2020-07-13 04:17:21 +03:00
Avently
b99b756435 Marked many (too many) variables as final 2020-07-12 03:59:47 +03:00
wb9688
69431ef0ab Use getNextPage() instead of getNextPageUrl() 2020-07-07 21:03:24 +02:00
Avently
60fd42dfa3 Changes for review 2020-06-27 06:25:50 +03:00
adinilfeld
8b791002b7 made ClipboardManager final 2020-06-11 09:36:57 -07:00
adinilfeld
24d774689f added a copyToClipboard method to ShareUtils, and modified CommentsMiniInfoItemHolder and VideoDetailFragment to use the new method. 2020-06-10 15:14:08 -07:00
wb9688
e58211dc6a Upgrade jsoup 2020-05-28 11:39:17 +02:00
Stypox
d63b091ec0 Fix checkstyle issues
Also replace all tabs with 4 spaces
2020-05-21 15:39:36 +02:00