Commit graph

11079 commits

Author SHA1 Message Date
TacoTheDank
96f46a8cd5 Update Desugaring to 1.1.8 2022-12-02 13:52:30 -05:00
Jared Fantaye
1d56798ea9 Disabling night theme selection if auto theme is not used 2022-12-01 13:01:58 +01:00
Stypox
900d62977a Merge pull request #9480 from TacoTheDank/bumpSonar
Update Sonarqube to 3.5
2022-11-30 00:14:33 +01:00
TacoTheDank
fe50f605fa Update Sonarqube to 3.5 2022-11-29 11:20:31 -05:00
Stypox
68ffe9ebe1 Merge pull request #9479 from Stypox/create-scaled-bitmap
Use smoother bitmap downscaling for thumbnails
2022-11-29 16:09:31 +01:00
Isira Seneviratne
846f59c73b Use BitmapCompat.createScaledBitmap(). 2022-11-29 15:56:19 +01:00
Stypox
f6e71e611d Merge pull request #8743 from shivambeohar/8615-gap-at-miniplayer-close-button-fix
Remove padding from the end of the mini-player
2022-11-29 12:31:55 +01:00
Stypox
35e8d11346 Make miniplayer close button area larger 2022-11-29 12:07:30 +01:00
Stypox
cce863f9fe Request permission to send notifications 2022-11-28 18:49:11 +01:00
Stypox
102d2ca1fb Add notifications permission 2022-11-28 18:23:47 +01:00
Tobi
91aeee33a8 Merge pull request #9471 from yashpalgoyal1304/set-width-image-minimizer
Set image-minimizer to specify image width ...
2022-11-28 14:32:09 +01:00
Stypox
4280bb5508 Merge pull request #9474 from bravenewpipe/avoid-wrong-nullable-notnull-annotation-imports
Forbid wrong `@Nullable` and `@NotNull` annotation imports
2022-11-28 14:30:52 +01:00
Stypox
a0af7d424e Block rxjava3 nullable/nonnull imports in checkstyle 2022-11-28 14:28:08 +01:00
evermind
af334b7924 checkstyle: declare org.jetbrains and javax.annotation Nullable's and NotNull/Nonnull as illegal imports 2022-11-28 13:33:50 +01:00
yashpalgoyal1304
3e98bfe6de Minimize not-so-long images too 2022-11-27 03:22:37 +05:30
yashpalgoyal1304
e8b6b09314 Resolve scoping issue to get values of probeResult 2022-11-27 02:06:01 +05:30
AudricV
5bdf145505 Merge pull request #8961 from dhruvpatidar359/Toast-Popup
Remove the redundant/overlapping toast "Copied to clipboard" for Android 13+
2022-11-26 21:33:12 +01:00
yashpalgoyal1304
7746188a80 Fix value of width 2022-11-27 01:56:53 +05:30
yashpalgoyal1304
67e56a9f6a Set image-minimizer to specify image width ...
Fix https://github.com/TeamNewPipe/NewPipe/issues/9469
for portrait like orientations
2022-11-26 23:29:11 +05:30
Jared Fantaye
971afd70ca Seeking no longer pauses the played video 2022-11-26 15:35:13 +01:00
Isira Seneviratne
3add1e2af3 Use SparseArrayCompat instead of SparseArray in StreamItemAdapter.
Make additional small improvements as well.
2022-11-22 18:31:58 +05:30
Isira Seneviratne
1e42bb6baa Use SparseArrayCompat for thumbnails. 2022-11-22 17:51:54 +05:30
seojun0924
8e6f00ac55 Update README.ko.md
Updated Korean README with latest version of README
2022-11-19 01:03:18 +09:00
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
9a395e093f Merge remote-tracking branch 'Weblate/dev' into dev 2022-11-09 16:48:12 +01:00
Coool (github.com/Coool)
1695bb6d1d Translated using Weblate (Latvian)
Currently translated at 92.5% (598 of 646 strings)
2022-11-09 16:46:12 +01:00
Coool (github.com/Coool)
36c789fc1d Translated using Weblate (Latvian)
Currently translated at 4.1% (3 of 72 strings)

Translation: NewPipe/Metadata
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/lv/
2022-11-09 16:46:12 +01:00
pjammo
83d1121370 Translated using Weblate (Italian)
Currently translated at 100.0% (72 of 72 strings)

Translation: NewPipe/Metadata
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/it/
2022-11-09 16:46:12 +01:00
Fjuro
9570ff1521 Translated using Weblate (Czech)
Currently translated at 100.0% (72 of 72 strings)

Translation: NewPipe/Metadata
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/cs/
2022-11-09 16:46:09 +01:00
ShareASmile
65cc4c71c2 Translated using Weblate (Punjabi)
Currently translated at 100.0% (646 of 646 strings)
2022-11-09 16:46:07 +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
c1a7c2ce11 Merge pull request #9333 from Isira-Seneviratne/PendingIntent_mutability
Make PendingIntents immutable on Android 6.0 and later.
2022-11-09 08:58:16 +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