Aayush Gupta
653b33bdb9
FocusOverlayView: Avoid accessing restricted API
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2026-02-20 16:16:50 +08:00
Aayush Gupta
10b943f37e
DownloadDialog: Avoid using restricted API for menuitem
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2026-02-20 16:16:50 +08:00
Aayush Gupta
2182ff12b7
Use correct constant for hiding keyboard
...
../../src/main/java/org/schabi/newpipe/local/subscription/dialog/FeedGroupDialog.kt:509: Must be one or more of: InputMethodManager.HIDE_IMPLICIT_ONLY, InputMethodManager.HIDE_NOT_ALWAYS
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2026-02-20 16:16:50 +08:00
Aayush Gupta
b3f4cb8114
Use requireContext() instead of asserting non-null context
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2026-02-20 16:16:50 +08:00
Aayush Gupta
2f3a993f8e
ReCaptchaActivity: Supress lint error for missing super call
...
saveCookiesAndFinish method handles back navigation
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2026-02-20 16:16:50 +08:00
Aayush Gupta
582f852e7a
Add missing permission checks for notifications
...
Notifications can be disabled manually even after permission has been granted once.
Always check if they are enabled before notifying the user.
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2026-02-20 16:16:50 +08:00
Aayush Gupta
5b009453f2
Address non-final resource IDs warnings
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2026-02-20 16:16:50 +08:00
Tobi
834f136102
Merge pull request #13247 from dustdfg/crashlog_fix
...
Partially revert: ErrorActivity: Kotlin-fy buildMarkdown method
2026-02-19 00:37:56 -08:00
Tobi
4cfd36ce5b
Merge pull request #13203 from dustdfg/video_detail_fragment_click_through
...
VideoDetailFragment: Forcefully catch click events uncaught by children
2026-02-18 23:45:35 -08:00
vt
9f8055f018
remove existing comment replies screens before adding new one
2026-02-19 12:07:22 +05:30
Yevhen Babiichuk (DustDFG)
70cdaf5550
Partially revert: ErrorActivity: Kotlin-fy buildMarkdown method
...
Partially reverts c3dbed54e5
Fix the bug where collapse container for several crashlogs is created
when only one crash log present
2026-02-13 13:43:54 +02:00
Yevhen Babiichuk (DustDFG)
54090ca7b6
ErrorActivity use normal \n instead of \\n in resource strings
2026-02-11 16:54:35 +02:00
Aayush Gupta
c3dbed54e5
ErrorActivity: Kotlin-fy buildMarkdown method
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2026-02-11 21:40:02 +08:00
Aayush Gupta
8968aab578
ErrorActivity: Catch exceptions not throwables
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2026-02-11 21:40:02 +08:00
Aayush Gupta
d7a4435e94
ErrorActivity: Use better variable names and encapsulation
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2026-02-11 21:39:56 +08:00
Yevhen Babiichuk (DustDFG)
4a7eaed3a7
ErrorActivity convert to kotlin
...
Co-authored-by: Aayush Gupta <aayushgupta219@protonmail.com>
2026-02-11 18:31:12 +08:00
Yevhen Babiichuk (DustDFG)
869a3cea9b
ErrorActivity small refactor
2026-02-11 18:31:12 +08:00
Aayush Gupta
224a5d0cb9
Minor improvements
...
- Use early return in case of nulls
- Use better variable names
- Remove non-required newlines, imports and add missing ones
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2026-02-10 16:33:43 +08:00
Yevhen Babiichuk (DustDFG)
c6fc94e7bd
Convert newpipe/settings/export/PreferencesObjectInputStream to kotlin
2026-02-10 10:09:18 +02:00
Yevhen Babiichuk (DustDFG)
1eedfd7eee
Convert /newpipe/util/StreamTypeUtil to kotlin
2026-02-10 10:09:18 +02:00
Yevhen Babiichuk (DustDFG)
2c7654a579
Covert newpipe/util/DependentPreferenceHelper to kotlin
2026-02-10 10:09:18 +02:00
Yevhen Babiichuk (DustDFG)
09a746dd6a
Convert newpipe/util/ServiceHelper to kotlin
2026-02-10 10:09:18 +02:00
Yevhen Babiichuk (DustDFG)
d665a4f016
Convert newpipe/util/NewPipeTextViewHelper to kotlin
2026-02-10 10:09:18 +02:00
Yevhen Babiichuk (DustDFG)
6cf932b2a7
Convert newpipe/ExitActivity to kotlin
2026-02-10 10:09:18 +02:00
Yevhen Babiichuk (DustDFG)
48467669b6
Convert newpipe/util/PeertubeHelper to kotlin
2026-02-10 09:51:14 +02:00
Yevhen Babiichuk (DustDFG)
780e6a4848
Convert newpipe/util/PlayButtonHelper to kotlin
2026-02-10 09:51:13 +02:00
Yevhen Babiichuk (DustDFG)
edfdbe805f
Uitilize kotlin elvis operator
2026-02-10 09:23:17 +02:00
Yevhen Babiichuk (DustDFG)
451409fc3b
SharedPreferences.edit applies changes automatically
2026-02-10 09:23:17 +02:00
Yevhen Babiichuk (DustDFG)
289d22eed7
Utilize kotlins ifEmpty
2026-02-10 09:23:17 +02:00
Yevhen Babiichuk (DustDFG)
21f446a78e
Refactor settings/preferencesearch/PreferenceSearchItem#allRelevantSearchFields
...
It doesn't need to return mutable list
2026-02-10 09:23:17 +02:00
Yevhen Babiichuk (DustDFG)
37cef825a2
Correct inverted check
...
If performs action when value is true but check when false
Fix for d6be966db3
2026-02-09 14:31:56 +02:00
Aayush Gupta
dab8e056e9
Merge pull request #13137 from dustdfg/info_item_builder_dead
...
Remove dead code from info_list/InfoItemBuilder
2026-02-08 22:28:19 +08:00
Aayush Gupta
020dbdc82a
Merge pull request #13131 from dustdfg/tabs_json_helper_refactor
...
TabsJsonHelper refactor
2026-02-08 22:06:25 +08:00
Yevhen Babiichuk (DustDFG)
d6be966db3
Replace Illegal{State,Argument} exceptions with more idiomatic kotlin code
2026-02-08 21:59:10 +08:00
Yevhen Babiichuk (DustDFG)
5e1a1989be
VideoDetailFragment: Forcefully catch click events uncaught by children
...
Because otherwise they will be caught by underlying view and
"click through" will happen. Workaround for #5600
2026-02-06 19:03:01 +02:00
Tobi
56a043669a
Merge pull request #13161 from jpds/outdated-subscription-shuffle
...
FeedLoadManager: Shuffle the order outdated subscriptions are updated in
2026-02-06 02:13:56 -08:00
AbsurdlyLongUsername
1554f77762
Fix additional setRecovery from rebase errors
2026-02-05 11:17:30 +00:00
AbsurdlyLongUsername
118def08b4
Add conditional guard to prevent useVideoAndSubtitles overwriting recovery position that was set in Player.handleIntent for RESUME_PLAYBACK when resuming playback
2026-02-05 05:05:41 +00:00
AbsurdlyLongUsername
725cb70cbd
Update useVideoAndSubtitles rename in comment
2026-02-05 05:05:40 +00:00
AbsurdlyLongUsername
5525d206dc
Small refactor getPlayQueueFromCache
2026-02-05 05:05:40 +00:00
Yevhen Babiichuk (DustDFG)
07fe1e758a
Refactor settings/tabs/TabsJsonHelper.java to use java streams
2026-02-02 23:59:01 +02:00
Jonathan Davies
ae60f7d7eb
FeedLoadManager: Shuffle the order outdated subscriptions are updated in
2026-01-31 20:47:48 +00:00
Yevhen Babiichuk (DustDFG)
8a2c47bc12
Remove dead code from info_list/InfoItemBuilder
...
It no longer really builds any view and used only for stroing click
gesture callbacks. In the same way lik local/LocalItemBuilder does
Last usage of build functions: 2e9a860aaa
2026-01-29 15:01:40 +02:00
Stypox
c2723096ab
Avoid rebuilding BackgroundPlayerUi if already in place
2026-01-28 02:39:56 +01:00
Stypox
216867c597
Address review comments
2026-01-28 02:20:33 +01:00
AudricV
1d8ea0181f
Disable fetching video and text tracks in background player
...
This reduces data usage for manifest sources with demuxed audio and
video, such as livestreams, for non-HLS sources only due to an
ExoPlayer bug.
2026-01-28 02:13:14 +01:00
AudricV
4648cac9c6
Allow changing video and text tracks state without stream info
...
This allows disabling these track types when stream info has been not
loaded while the ExoPlayer instance is.
It is now possible to do so with the background player, in order to
disable fetching video and text tracks for manifest sources,
especially used for livestreams.
Also set the recovery first before reloading play queue manager in the
useVideoAndSubtitles method of the Player class.
2026-01-28 02:13:14 +01:00
AudricV
0578e7fde0
Rename useVideoSource to useVideoAndSubtitles in Player
...
As both subtitles and video tracks are disabled in this method, the
goal of this rename is to highlight disabling/enabled subtitles.
2026-01-28 02:13:14 +01:00
AudricV
c670ad80ee
Use DASH first instead of HLS and YouTube's DASH parser for lives
2026-01-28 02:13:14 +01:00
AudricV
077f34c922
Add a YouTube DASH manifest parser to make live DASH manifests usable
...
This is a hacky solution, a better one should be investigated and used.
2026-01-28 02:13:14 +01:00