Commit graph

458 commits

Author SHA1 Message Date
Stypox
ef6bfa24f0 Extract NotificationSlot from NotificationActionsPreference 2023-12-29 12:31:59 +01:00
Stypox
57090022d1 Customize only 2 notification actions on Android 13+ 2023-12-29 12:13:08 +01:00
Tobi
80d25720be Merge pull request #9987 from Edwardsoen/add_high_resolution_to_default_option
Include a high-resolution option in the default resolution settings.
2023-09-24 17:54:18 +02:00
Stypox
4164bf36f6 Implement better image selection strategy 2023-09-22 10:14:44 +02:00
Stypox
a6a7c2271a Add image quality preference 2023-09-22 10:14:43 +02:00
TobiGr
b134d75549 Deduplicate code to initialize ClickListeners on playlist controls
Add the separate utility class PlayButtonHelper to handle the initialization of the listeners.
The ClickListeners on playlist controls had different behaviours. This commit fixes that.

The commit also refactors the way how the app determines whether it is started for the first time. The previous version was not clean and recent in this PR caused it to fail.
2023-09-18 23:22:32 +02:00
Stypox
aa4ec2f39e Channels are now an Info
The previous "main" tab is now just a normal tab returned in getTabs().
Various part of the code that used to handle channels as ListInfo now either take the first (playable, i.e. with streams) tab (e.g. the ChannelTabPlayQueue), or take all of them combined (e.g. the feed).
2023-09-18 23:22:32 +02:00
Stypox
559a1a46e1 Move channel header to collapsible app bar 2023-09-18 23:22:32 +02:00
ThetaDev
11f83b8e24 feat: add channel tabs 2023-09-18 23:22:31 +02:00
TobiGr
25034bb1b3 Add documentation to increase maintainablilty
Rename a variable
2023-09-18 01:45:53 +02:00
Edward
db6a9fcad9 Include a high-resolution option in the default resolution settings. 2023-09-18 01:15:22 +02:00
TobiGr
387a42316a Fix some sonar warnings and make some smaller improvements 2023-08-14 23:09:50 +02:00
TobiGr
d1026176bd Fixed some Sonar warnings 2023-08-03 12:02:08 +02:00
TobiGr
6fe07cd708 Replace settings migration with automatic check for device blacklist version 2023-07-31 23:00:54 +02:00
TobiGr
829b36a9cd Ensure that imports handle disabling media tunneling correctly
Store in preferences whether media tunneling was disabled automatically.
Show info in ExoPlayer settings if media tunneling was disabled autmatically.
2023-07-29 22:08:51 +02:00
TobiGr
cce9e09bbc Disable media tunneling if the device is known for not supporting it
Revert removing the Utils related to media tunneling.
2023-07-29 14:13:03 +02:00
TobiGr
82de412b9c Make some constants private and annotate params 2023-07-29 14:13:03 +02:00
TacoTheDank
fc320354b1 Clean up AlertDialogs 2023-07-11 21:54:10 -04:00
AudricV
9ff218b97a Add ExoPlayerSettingsFragment and move playback load interval size setting into it
This fragment has been added into SettingsResourceRegistry, to allow searches
in its options.

It has been placed at the place of the previous playback load interval size
setting (so in Video and Audio settings).
2023-04-10 17:37:30 +02:00
Stypox
464a4433d5 Fix settings migration 2023-04-04 11:06:20 +02:00
Stypox
8d421ef0c3 Fix checkstyle 2023-04-04 10:02:01 +02:00
ge78fug
fcbebba712 Changed the default of the switches 2023-04-04 09:57:06 +02:00
ge78fug
ce0a36bf28 Added the migration 2023-04-04 09:57:06 +02:00
ge78fug
1908a477d3 Made two list options 2023-04-04 09:57:06 +02:00
ge78fug
a9a151f58b Updated the gesture-switch-toggle 2023-04-04 09:57:06 +02:00
ge78fug
c9b3dfda7e Created a setting to switch the sides of volume and brightness 2023-04-04 09:57:06 +02:00
TobiGr
79e157e212 Fix more NPEs after OnSharedPreferenceChangeListener changes 2023-01-16 23:05:29 +01:00
Stypox
8375f1b60f Fix NPEs after OnSharedPreferenceChangeListener changes
Apps targeting {@link android.os.Build.VERSION_CODES#R} on devices running OS versions {@link android.os.Build.VERSION_CODES#R Android R} or later, will receive a {@code null} value when preferences are cleared.
2023-01-16 22:30:28 +01:00
ge78fug
03618ea4d9 Chenged the name of the icon 2023-01-14 09:21:37 +01:00
ge78fug
9fa2c538d9 Chenged the What's New icon 2023-01-13 16:33:45 +01:00
ge78fug
fa85b7c417 Added the "What's New"-section to the default tabs 2023-01-11 16:06:11 +01:00
Stypox
5877ca6cc0 Merge pull request #8769 from Isira-Seneviratne/New_Utils_methods
Use new NPE UTF8 Utils methods
2023-01-02 17:59:26 +01:00
Stypox
fb623e4e2c Simplify disposables handling in notification mode settings 2023-01-02 14:45:11 +01:00
Isira Seneviratne
c529738bd2 Use new NewPipe Extractor Utils methods. 2023-01-02 07:03:18 +05:30
Isira Seneviratne
303b7d5c99 Use ListAdapter in NotificationModeConfigAdapter. 2022-12-29 06:14:46 +05:30
Tobi
27369142aa Merge pull request #9488 from Jared234/9353_night_theme_selection
Disabling night theme selection if auto theme is not used
2022-12-25 22:19:02 +01:00
Jared Fantaye
ac03944ee1 Implemented suggestions 2022-12-05 21:21:46 +01:00
Isira Seneviratne
8b6f6ecb9f Show toast when no updates are available.
Co-authored-by: Stypox <stypox@pm.me>
2022-12-04 12:01:56 +01:00
Jared Fantaye
1d56798ea9 Disabling night theme selection if auto theme is not used 2022-12-01 13:01:58 +01:00
Isira Seneviratne
ea5214d4f1 Use TextViewCompat.setCompoundDrawableTintList(). 2022-11-01 06:31:35 +05:30
Stypox
acd72b517c Merge pull request #8739 from Isira-Seneviratne/Stream_average
Calculate search score using streams.
2022-10-30 22:09:55 +01:00
Isira Seneviratne
77f19bd26f Use ListAdapter in PreferenceSearchAdapter. 2022-08-18 19:52:51 +05:30
Isira Seneviratne
158ef0d444 Calculate search score using streams.
Co-authored-by: Stypox <stypox@pm.me>
2022-08-15 07:26:56 +05:30
Isira Seneviratne
6b3bdb04ce Use ListAdapter in PeertubeInstanceListFragment. 2022-08-15 07:26:02 +05:30
Stypox
5bc82ad0f9 Merge pull request #8738 from Isira-Seneviratne/Collectors_joining
Use Collectors.joining().
2022-08-06 22:31:31 +02:00
Stypox
05a8939e7e Merge pull request #8728 from Isira-Seneviratne/Comparator_factory
Use Comparator factory methods.
2022-08-06 11:56:44 +02:00
Isira Seneviratne
1e0abb2f80 Use Collectors.joining(). 2022-08-06 06:54:21 +05:30
Isira Seneviratne
fbf3df2c60 Applied code review changes. 2022-08-05 06:54:03 +05:30
Isira Seneviratne
b49b8f325d Use toArray() with zero-length arrays. 2022-08-05 06:50:55 +05:30
Isira Seneviratne
dd19d2a5fb Use Comparator.comparingDouble(). 2022-08-05 05:36:39 +05:30