Isira Seneviratne
1e42bb6baa
Use SparseArrayCompat for thumbnails.
2022-11-22 17:51:54 +05:30
Stypox
2a0fda2849
Set compileSdk and targetSdk to 33 (Android 13)
...
android:exported in now required in the manifest on all activities/services/receivers/providers. It was set to true for those that need to interact with outside apps or the OS, while others have exported=false.
This also required updating LeakCanary to the latest version as the older version being used was not using android:exported in AndroidManifest.xml.
2022-11-18 08:33:13 +01:00
Isira Seneviratne
def00c8dfd
Merge branch 'dev' into Refactor_VideoPlayerUi
2022-11-14 08:59:03 +05:30
Isira Seneviratne
de663c015d
Merge branch 'dev' into Refactor_VideoDetailFragment
2022-11-14 08:58:45 +05:30
Isira Seneviratne
37182c7b84
Merge pull request #8870 from Isira-Seneviratne/Locale_forLanguageTag
...
Use Locale.forLanguageTag().
2022-11-10 19:56:34 +05:30
Tobi
7ac96cf353
Merge pull request #8316 from han-sz/fix_video_mouse_hover_overlay
...
Fix persistent hover overlay when in desktop/DeX mode or using a mouse/non-touch input
2022-11-09 17:10:01 +01:00
TobiGr
f190811897
Merge branch 'master' into dev
2022-11-09 16:45:22 +01:00
AudricV
97837d4295
Improve code of DeviceUtils.isDesktopMode
...
- Avoid NullPointerException crashes if there is no UiModeManager or desktop
system service mode
- Use final for every exception
- Suppress missing fields warnings
- Add missing NonNull annotation
2022-11-09 16:22:49 +01:00
cybersphinx
a085e6ee04
Remove now obsolete API check.
2022-11-09 15:50:09 +01:00
cybersphinx
7bb41180e1
Remove errant return.
2022-11-09 15:50:09 +01:00
cybersphinx
277ef2c450
Add check for input devices with cursor.
2022-11-09 15:50:06 +01:00
Hanif Shersy
0666eeb4cf
Add JSDoc comment and a performance note for isDesktopMode
2022-11-09 15:48:50 +01:00
Hanif Shersy
fed052354e
Fix JSDoc checkstyle warning
2022-11-09 15:44:36 +01:00
Hanif Shersy
4d40192b50
Address review comments
2022-11-09 15:44:36 +01:00
Hanif Shersy
329e3c371a
Fix DeX mode check
2022-11-09 15:44:36 +01:00
Hanif Shersy
7847fca6c4
Fix persistent hover overlay when mouse connected
2022-11-09 15:44:27 +01:00
Isira Seneviratne
0aefc8e14d
Use Math.floorDiv().
2022-11-09 20:01:40 +05:30
Isira Seneviratne
0ac9d3a3e0
Group private Localization methods together.
2022-11-09 08:54:47 +05:30
Isira Seneviratne
28d0cc6932
Use Locale.forLanguageTag().
2022-11-09 08:51:12 +05:30
AudricV
66e12e4c78
Remove Utility.copyToClipboard and use ShareUtils.copyToClipboard instead
...
This method is not needed anymore, as ShareUtils.copyToClipboard does
almost the same thing (no label is set on the ClipData used to copy text,
contrary to what Utility did, but using "text" as a ClipData label doesn't seem
useful).
It was used in MissionAdapter.handlePopupItem to copy the SHA1 or the MD5 of a
file.
2022-11-08 20:47:51 +01:00
dhruvpatidar359
434f161b3e
Remove the redundant/overlapping toast "Copied to clipboard" for Android 13+
...
Signed-off-by: dhruv <dhruvpatidar35@gmail.com>
Co-authored-by: Tobi <TobiGr@users.noreply.github.com>
Co-authored-by: AudricV <74829229+AudricV@users.noreply.github.com>
2022-11-08 20:47:50 +01:00
Isira Seneviratne
0ca88d029e
Add helper methods for adding PendingIntent mutability.
2022-11-07 17:12:22 +05:30
Tobi
b65078332f
Merge pull request #9298 from Stypox/fix-inconsistent-channel-groups
...
Fix inconsistent channel group list and items view mode
2022-11-05 21:11:51 +01:00
Stypox
2f35a2bbb2
Merge pull request #9109 from TeamNewPipe/fix/overlayPlayQueueButton
...
Hide play queue button in VideoDetailsFragment when queue is empty
2022-11-05 20:28:14 +01:00
Stypox
10676d151e
Fix wrongly calculated channel groups span count
2022-11-05 20:05:59 +01:00
Stypox
0e222f2d62
Fix inconsistent channel group list and item view mode
2022-11-04 18:21:35 +01:00
Tobi
013d558d98
Merge pull request #9230 from Stypox/duplicate-feed-videos
...
Fix duplicate videos in feed group "All"
2022-11-03 17:23:05 +01:00
Isira Seneviratne
7396983c2a
Use lambdas for VideoDetailFragment listeners.
2022-11-03 20:15:17 +05:30
Isira Seneviratne
c0a2b6c1f3
Use OnClickListener and OnLongClickListener lambdas in the player UIs.
2022-11-03 05:09:35 +05:30
Isira Seneviratne
ea5214d4f1
Use TextViewCompat.setCompoundDrawableTintList().
2022-11-01 06:31:35 +05:30
Stypox
86d5214e72
Merge pull request #9203 from Callisto404/add-chapter-timestamp-share
...
Added timestamped link sharing from the start of a chapter with a long hold press
2022-10-30 22:31:09 +01:00
Stypox
acd72b517c
Merge pull request #8739 from Isira-Seneviratne/Stream_average
...
Calculate search score using streams.
2022-10-30 22:09:55 +01:00
Stypox
900c58821d
Merge pull request #8706 from Isira-Seneviratne/Improve_LocalPlaylistFragment
...
Refactor removeWatchedStreams() in LocalPlaylistFragment.
2022-10-30 22:03:39 +01:00
Daniel M
8e08c2abd0
Added an "isYouTube" check to start of long click handler
2022-10-30 13:48:03 +11:00
Stypox
78be8c0691
Merge pull request #8767 from Isira-Seneviratne/Use_ByteString
...
Use Okio's ByteString for download checksums.
2022-10-29 11:16:44 +02:00
Stypox
fd1237698d
Merge pull request #8747 from Isira-Seneviratne/Range_limit
...
Use range-limiting methods in more places.
2022-10-28 10:34:04 +02:00
Stypox
c0b2e2aebe
Fix duplicate videos in feed "All"
2022-10-27 23:43:39 +02:00
Stypox
668db1e72c
Use GROUP_ALL_ID instead of hardcoded -1
2022-10-27 23:32:19 +02:00
Stypox
97d2e5307a
Merge pull request #9207 from cern1710/list-view-alt-alt-implementation
...
undefined
2022-10-27 22:48:03 +02:00
Samuel Wu
24df4cf5ff
Merge remote-tracking branch 'origin/list-view-alt-alt-implementation' into list-view-alt-alt-implementation
2022-10-28 04:54:42 +11:00
Samuel Wu
91faa1eeda
Disabled animations for subscription fragment
2022-10-28 04:54:33 +11:00
Stypox
c14f366d32
Fix random crash in SubscriptionFragment
2022-10-27 18:45:06 +02:00
Stypox
977fe2e3e5
Solve two SonarCloud smells
2022-10-27 17:52:17 +02:00
Stypox
029f02e4f9
Deduplicate isGridLayout calls
2022-10-27 17:25:06 +02:00
YonghaoDeng
22ab44cd7e
Add an Open in browser button on error panel ( #9180 )
...
* add a open in browser button
* Corrected a few things that needed to be changed
* Remove unneeded changes.
* Remove unneeded changes.
* Add showAndSetOpenInBrowserButtonAction function
* modify some codes
2022-10-27 14:38:08 +02:00
Stypox
592c315c82
Fix flickering in channel groups list
2022-10-27 14:01:04 +02:00
Stypox
c8eabb067b
Put "New feed group" item at the top
2022-10-27 13:51:56 +02:00
Samuel Wu
0472aeeadc
Revert changes
2022-10-27 12:15:36 +11:00
Stypox
366e1be1e4
Fix grid/list toggle implementation of feed
2022-10-26 23:20:32 +02:00
Samuel Wu
b0581deb7f
Fully working card and list view
2022-10-26 21:05:55 +11:00