Tobi
5cf3c58d0e
Merge pull request #10732 from Profpatsch/dont-write-media-format
...
Don't write defaultFormat setting, use default value
2024-03-25 10:36:35 +01:00
CloudyRowly
2e318b8b03
Added "free memory" check before downloading [Android N / API 24+] ( #10505 )
...
Added "free space" check before downloading eliminating bugs related to out-of-memory on Android N / API 24+
2024-03-21 09:18:55 +01:00
Isira Seneviratne
5bdb6f18d6
Use hexToByteArray() extension
2024-03-20 14:00:13 +01:00
Isira Seneviratne
2e53a99361
Convert isReleaseApk to lazy value
2024-03-20 14:00:13 +01:00
Isira Seneviratne
bec18e13d3
Improve app signature check
2024-03-20 14:00:13 +01:00
Ikko Eltociear Ashimine
9d6ac67c46
Update TextLinkifier.java
...
minor fix
2024-03-18 14:43:16 +09:00
Profpatsch
575e809004
Don't write defaultFormat setting, use default value
...
Nowhere else does this (write a setting if it’s not set).
It took me a while to see that this code does not do what it intends,
because `defaultFormat` is already the default value in the first
`context.getString`, so calling `getMediaFormatFromKey` again is the
exact same call (“do you know the definition of insanity…”) and will
return `null` again …
So let’s drop the setting write and just rely on the default values.
2024-01-06 17:24:53 +01:00
Stypox
1d8850d1b2
Merge pull request #10712 from Stypox/notification-actions-api-33-2
...
[Android 13+] Restore support of custom notification actions
2023-12-30 21:55:44 +01:00
Stypox
f98548698a
Android 33 -> Android 13
...
Co-authored-by: Tobi <TobiGr@users.noreply.github.com>
2023-12-30 21:55:32 +01:00
Stypox
4b1824e8c1
Allow play/pausing from notification when buffering
...
This change is in line with a recent change in how the play/pause button behaves in the player ui: if the buffering indicator is shown, it's still possible to toggle play/pause, to allow e.g. pausing videos before they even start.
This change was needed because on Android 13+ notification actions can't be null, and thus the buffering hourglass action wasn't shown.
2023-12-29 16:18:26 +01:00
Stypox
17e88f1749
Do not update notification actions if nothing changed
...
This should avoid costly updates of the media session.
2023-12-29 16:16:45 +01:00
Stypox
5edafca05a
Implement notification actions via MediaSessionConnector on Android 13+
2023-12-29 15:54:15 +01:00
Stypox
2c4c283099
Extract NotificationActionData from NotificationUtil
2023-12-29 15:54:15 +01:00
Stypox
9fb8125655
Allow each notification slot to contain any possible action
2023-12-29 15:54:15 +01:00
Stypox
aab6580195
Extract NotificationSlot from NotificationActionsPreference
2023-12-29 12:31:59 +01:00
Stypox
30f0db1d28
Customize only 2 notification actions on Android 13+
2023-12-29 12:13:08 +01:00
Stypox
8345f348f6
Merge pull request #10091 from TeamNewPipe/feat/playlist_description
...
Add playlist description to playlist fragment
2023-12-29 10:58:13 +01:00
Stypox
845e72bf4a
Merge branch 'master' into dev
2023-12-29 10:48:37 +01:00
TobiGr
0fa2e76c3e
Fix NPE when ChannelTabLHFactory not implemented for a service
...
Fixes #10698
2023-12-26 16:55:52 +01:00
Stypox
9ff1b5230f
Improve TextEllipsizer class
2023-12-23 18:04:05 +01:00
TobiGr
65eb631711
Ellipsize playlist description if it is longer than 5 lines
...
The description can be expanded / collapsed via a "show more" / "show less" button.
2023-12-23 12:33:52 +01:00
TobiGr
6c99557553
Add playlist description to PlaylistFragment
2023-12-23 12:13:34 +01:00
TacoTheDank
b31d3831e6
Change Converters to class to fix build
2023-12-23 11:47:57 +01:00
TacoTheDank
4a7fda95ae
Update miscellaneous libraries
2023-12-23 11:47:57 +01:00
Stypox
ee3455e1e5
Merge pull request #10086 from TacoTheDank/bumpAndroidX
...
Update some AndroidX libraries and compileSdk to 34
2023-12-23 11:46:28 +01:00
Isira Seneviratne
f9fc1cd817
Store/retrieve parcelable arrays as lists instead.
2023-12-23 11:38:40 +01:00
TacoTheDank
76f1e588f7
Utilize BundleCompat and IntentCompat methods
2023-12-23 11:38:40 +01:00
Isira Seneviratne
f3b458c803
Bump compileSdk to 34
2023-12-23 11:38:32 +01:00
TacoTheDank
00566ed4d4
Fix AndroidX Work deprecation
2023-12-23 11:36:33 +01:00
Stypox
aa84d6fc8f
Add @NonNull annotations
2023-12-22 18:52:42 +01:00
Stypox
d76e9b0bd8
Fix scrolling to correct comment after closing replies
2023-12-22 18:52:42 +01:00
TobiGr
b4016c91c1
scroll last comment into view
2023-12-22 11:57:55 +01:00
TobiGr
5f32d001cc
Expand DetailFragment again when exiting the CommentRepliesFragment
2023-12-22 11:57:55 +01:00
Stypox
8c9287d0c8
Revert relying on source ListInfo, use commentsInfoItem.getUrl() instead
...
This reverts commit bb01da3691ff1d5c3dccd41b7ca1a5deb1b5676f. This commit was not needed
2023-12-22 11:57:55 +01:00
Stypox
3f37e27852
Add some documentation and javadocs
...
Also further simplify CommentRepliesInfo and RelatedItemsInfo
2023-12-22 11:57:55 +01:00
Stypox
f41ab8b086
Add comment replies fragment header
2023-12-22 11:57:55 +01:00
Stypox
ad68f784ae
Extract some utility methods from CommentInfoItemHolder
2023-12-22 11:48:07 +01:00
Stypox
4b6392df54
Set comment replies fragment title
2023-12-22 11:48:07 +01:00
Stypox
94ea329b50
Always show comment replies in list mode
2023-12-22 11:48:07 +01:00
Stypox
591ed2e01f
Fix some code smells
2023-12-22 11:48:07 +01:00
Stypox
78cf9aaa7d
Save and restore state in CommentRepliesFragment
2023-12-22 11:48:07 +01:00
Stypox
f9494a294f
Implement CommentRepliesFragment
2023-12-22 11:48:07 +01:00
Stypox
0dd4553700
Load more items even if initial related items are empty
2023-12-22 11:48:07 +01:00
Stypox
4f7b36cd70
Keep source list info in InfoItemBuilder
...
Also remove some unused code
2023-12-22 11:48:07 +01:00
Stypox
5d350aec87
Move RelatedItemInfo next to fragment using it
2023-12-22 11:48:07 +01:00
Stypox
059db6fb31
Add replies button to comments
2023-12-22 11:48:05 +01:00
Stypox
8f4cd032b7
Remove mini variant and move upload date to top in comments
2023-12-22 11:46:03 +01:00
Stypox
5b999a88f8
Merge pull request #10673 from Stypox/transaction-too-large
...
Fix transaction too large in channel tab fragments
2023-12-21 22:30:22 +01:00
Stypox
482531836f
Merge pull request #10670 from Stypox/feed-oom
...
Fix OutOfMemory when fetching feed
2023-12-21 22:29:46 +01:00
Stypox
b3c82f54df
Merge pull request #10671 from Stypox/channel-main-tab-lag
...
Fix application lagging with many main page tabs
2023-12-21 22:28:59 +01:00