Stypox
950956ebf2
Also show a toast on error notification
...
since the notification is silent, also show a toast, otherwise the user is confused
2021-12-04 10:50:27 +01:00
Stypox
c8e2ab4c83
Remove PlayerErrorHandler and correctly set ErrorInfo msg
2021-12-04 10:36:36 +01:00
Stypox
397f93b079
Prevent exception from being serialized in ErrorInfo
...
The wrong @Decorator was put in the wrong place to mark the throwable fieldd as transient, now this is fixed and the exception is not serialized. So if a non-serializable throwable is passed, that's not an issue, since it's not going to be serialized. The need for EnsureExceptionSerializable is also gone.
2021-12-04 10:36:36 +01:00
Stypox
09d137f740
Add PendingIntent to ErrorUtil.createNotification
2021-12-04 10:36:36 +01:00
Stypox
81f740d409
Replace ErrorActivity with ErrorUtil
2021-12-04 10:36:36 +01:00
Stypox
1d2642f1e3
Create ErrorUtil class with three ways to report errors
...
Activity, snackbar and notification
2021-12-04 10:36:31 +01:00
litetex
4c8dca5300
Fixed NPE + Problems with context
2021-11-28 13:42:26 +01:00
litetex
2f99a217c3
Fixed build
2021-11-23 20:21:59 +01:00
litetex
0d51eefbb9
Refactoring
2021-11-23 20:12:16 +01:00
litetex
aa28a85747
Added a workaround for not serializable exceptions
2021-11-23 20:12:14 +01:00
litetex
f18ee8e83d
Added a bit more documentation
2021-11-23 20:12:13 +01:00
litetex
fb58967766
PlayerErrorHandler refactor + docs
2021-11-23 20:12:12 +01:00
litetex
e5c00a7ef4
Added some doc
2021-11-23 20:12:10 +01:00
litetex
769791af7a
Added a "Crash the player" debug option
2021-11-23 20:12:09 +01:00
litetex
e632fab4d0
Added option to report player errors
...
* Added a new setting so that player errors are reported (under Video and Audio > Player)
* Moved the player error logic to separate class specially created for this purpose
2021-11-23 20:12:07 +01:00
Stypox
6cd25d7e55
Merge pull request #7412 from litetex/code-cleanup
...
Some code cleanup(s)
2021-11-23 08:59:34 +01:00
litetex
c9488eb042
Removed useless lines
2021-11-22 19:49:52 +01:00
litetex
c8516a04dc
Formatted code
2021-11-21 19:56:50 +01:00
litetex
02d1b98b1c
Removed useless doc
2021-11-21 19:46:11 +01:00
litetex
d8236bbedd
Merge pull request #7406 from Redirion/usedefaultloadcontrol
...
Use DefaultLoadcontrol
2021-11-21 15:11:21 +01:00
XiangRongLin
bd9dcfb28a
Merge pull request #7381 from litetex/prevent-automatic-replay-after-returning-from-background
...
Prevent automatic replay after returning from background
2021-11-17 09:38:09 +01:00
Robin
d5199eac3e
Merge pull request #7050 from litetex/feed-refactor-new-items-handling
...
Rework feed new items handling
2021-11-15 23:20:07 +01:00
litetex
7638d229c0
Fixed typo
2021-11-15 20:24:40 +01:00
TacoTheDank
a641c5bb58
Update Groupie to 2.9.0
2021-11-15 20:24:39 +01:00
litetex
1e0c9f46ad
Improved highlighting in FeedFragment
...
Now keeps the ``selectableItemBackground`` when highligthing an item.
2021-11-15 20:22:23 +01:00
litetex
4eb02f584e
Fixed default visibility of "new feed items" button
...
Fixed/Avoid NPEs
2021-11-15 20:22:22 +01:00
litetex
700c1b4b25
Removed unnecessary layout
...
Moved the feed button up a bit
2021-11-15 20:22:21 +01:00
litetex
4b4337e078
Used more understandable kotlin methods
2021-11-15 20:22:20 +01:00
litetex
38ce800685
Fixed feed when animations are off
...
Introduced a check if corresponding animations on the devices are enabled
2021-11-15 20:22:20 +01:00
litetex
2310e8c1d6
Made `hideNewItemsLoaded
` more null safe
2021-11-15 20:22:19 +01:00
litetex
1b2b3a4f88
Make new feed items bold
2021-11-15 20:22:18 +01:00
litetex
d11129a76b
Fixed StackOverflow
2021-11-15 20:22:17 +01:00
litetex
02789122a0
Implemented UI highlighting and "new feed items"-notification
...
Fixed format
2021-11-15 20:22:17 +01:00
litetex
676bc02d52
No more reaction to unnecessary feed db-changes
...
This caused duplicate events (https://github.com/TeamNewPipe/NewPipe/pull/6686#issuecomment-909575283 ) and unnecessary processing of items
2021-11-15 20:21:23 +01:00
litetex
8b807b0706
Enhanced `View.slideUp
`
2021-11-15 20:21:21 +01:00
litetex
316db0e4c6
setRecovery: Remove checks and use Math.min/max
2021-11-15 19:56:14 +01:00
litetex
010c607e40
Prevent automatic replay after returning from background
...
See also https://github.com/TeamNewPipe/NewPipe/pull/7195#issuecomment-962624380
2021-11-15 19:47:08 +01:00
Robin
3e099fb2a3
Fixed Period Transition
2021-11-14 21:19:36 +01:00
Robin
9c9730b152
Use DefaultLoadcontrol
2021-11-14 20:12:12 +01:00
Stypox
9e44053e22
Merge pull request #7160 from nschulzke/mark-as-watched-everywhere
...
Enable Mark as Watched in all the other playlist fragments.
2021-11-13 20:37:59 +01:00
Nathan Schulzke
dee32c3dc5
Factor out shouldAddMarkAsWatched as a shared function
2021-11-13 10:18:17 -07:00
Robin
344fbff59a
Merge pull request #7363 from litetex/playback-speed-ctrls-simple-landscape-improvements
...
Simple playback-speed-controls improvements
2021-11-12 21:19:17 +01:00
litetex
48a1ab64b0
Refactored `PlaybackResolver
`
...
* fixes the deprecation of ``setTag``
* makes the code more consistent
* de-duplicates some code
2021-11-12 20:14:39 +01:00
litetex
dd2cde3c1a
De-duplicated PlayerDataSource-code
2021-11-12 19:40:00 +01:00
Robin
1b9c2b37c5
Use Android11+ extractors
2021-11-12 19:17:52 +01:00
Robin
eae1f8b597
Update ExoPlayer to 2.14.2
2021-11-12 19:17:51 +01:00
litetex
adf9badbf6
Fixed toggle not in sync with list after app restart + refactored the code a bit
2021-11-11 19:46:15 +01:00
Baji Shaik
c35fe4f3f1
moved preference key from viewmodel to settings_keys.xml
2021-11-10 16:16:17 -05:00
Baji Shaik
63291f8101
added show watched items toggle preference
...
default sharedpreference is used to persist and retrieve show watched menu option toggle state
2021-11-07 23:11:10 -05:00
litetex
62efb588ef
Removed obvious title from the "Playback Speed Controls"
2021-11-07 13:51:43 +01:00