TacoTheDank
290751ba78
Correct some other small lints
2020-11-19 18:54:27 -05:00
TacoTheDank
497e145c70
Lint: Make a bunch of stuff final
2020-11-18 17:50:00 -05:00
Stypox
073999edcc
Merge pull request #4771 from Stypox/fix-playlist-select
...
Fix playlist select dialog and do some refactoring
2020-11-14 11:21:20 +01:00
Isira Seneviratne
82ba67ca82
Use RxJava instead of AsyncTask to check for new app versions.
2020-11-05 11:06:50 +05:30
Stypox
aae526074c
Fix playlist select dialog and do some refactoring
2020-11-02 14:24:39 +01:00
Xiang Rong Lin
e51a6cdb97
Add option to not colorize notification
2020-11-01 22:13:00 +01:00
XiangRongLin
e52df544c6
Convert notification actions to a custom preference ( #4652 )
2020-10-31 11:58:33 +01:00
Isira Seneviratne
cd12b9add1
Use DrawableCompat.
2020-10-25 21:01:53 +05:30
Isira Seneviratne
0e2f57bc60
Use TextViewCompat.setCompoundDrawablesRelativeWithIntrinsicBounds().
2020-10-22 06:01:49 +05:30
wb9688
20ba845af7
Add button in settings to clear reCAPTCHA cookies
2020-10-14 14:39:08 +02:00
Stypox
545338388c
Merge pull request #4413 from Stypox/delete-stream-state
...
Also delete stream state when deleting stream history
2020-10-10 22:29:33 +02:00
wb9688
53547e76e5
Fix compiling release build
2020-10-08 18:36:20 +02:00
wb9688
a075111bb1
Hide Leaks launcher icon
2020-10-07 12:56:22 +02:00
Stypox
b78d152e22
Also delete stream state when deleting stream history
2020-10-05 17:47:48 +02:00
Tobias Groza
bccba7acd6
Merge pull request #4259 from TeamNewPipe/pref_migration
...
Add settings migration, remove "Detail page" option from share dialog and minimize to background by default
2020-09-27 11:20:39 +02:00
TobiGr
0246f8de31
Set default value for "minimize_on_exit" to background for better UX.
2020-09-26 21:58:38 +02:00
TobiGr
0949453cb5
Remove "Detail Page" open action from share dialog under certain circumstances
...
With the new application workflow and unified player, video detail page and video player are the same activity. So show only one of these options based on whether autoplay is enabled or not, and show both if using external player
2020-09-26 21:58:34 +02:00
TobiGr
6f9b03ac11
Add migration concept for shared preferences
2020-09-26 21:43:58 +02:00
Stypox
7016da5251
Remove hardcoded and duplicate strings, use exoplayer ones
2020-09-22 18:17:09 +02:00
Stypox
e861be10d9
Merge branch 'dev' into pr3178
2020-09-08 23:58:10 +02:00
Stypox
847fb84854
Add notification costumization settings menu
2020-09-08 22:00:24 +02:00
Stypox
044190d5d9
Extract duplicate setActivityTitle code to own function
2020-09-07 15:28:38 +02:00
TacoTheDank
0ef2e07cf4
Some general-purpose lint cleanup
2020-09-06 12:55:26 +02:00
TacoTheDank
7795a5f733
Fix some lambdas
2020-09-06 12:52:43 +02:00
TacoTheDank
61c10ad427
Use AndroidX preference
2020-09-06 12:52:42 +02:00
TobiGr
a0498c4c62
Remove unused and redundant code.
2020-09-01 17:39:06 +02:00
wb9688
25b56bf5e4
Use final where possible
2020-08-16 10:25:09 +02:00
Avently
5cd7ca5dab
AndroidTvUtils -> DeviceUtils
2020-07-21 01:43:49 +03:00
Stypox
89899dc1c9
Move local/remote playlist merge() to PlaylistLocalItem class
...
In order not to have a utils class just for one function
2020-07-04 11:38:22 +02:00
Stypox
8736a1c072
Fix style issues
2020-07-04 11:38:22 +02:00
Roy Yosef
820ab5893c
Final declarations, naming & redundant code
...
* add final declarations where missing
* fix typo "onSelectedLisener" to "onSelectedListener"
* rename "baseEqual" to "baseEquals"
* replace getPlaylistsObserver code with functions pointers
* remove duplicate code in constructors
* remove useless null checks
2020-07-04 11:37:38 +02:00
Roy Yosef
37dd391807
Add playlist tab to main page
...
Add bookmarked playlist as tab in the main page (by Settings > Content > Content of main page)
2020-07-04 11:35:45 +02:00
Stypox
d63b091ec0
Fix checkstyle issues
...
Also replace all tabs with 4 spaces
2020-05-21 15:39:36 +02:00
Stypox
0c29ab7b6d
Use AppCompatResources instead of ContextCompat
2020-05-21 15:39:36 +02:00
Stypox
ef98eea131
Fix additional empty title on tab selection fragments in API 19
2020-05-21 15:39:36 +02:00
Stypox
1eacd3e73d
Rename ic_hot in ic_kiosk_hot and improve getKioskIcon()
2020-05-21 15:39:36 +02:00
Stypox
c80aba9a88
Use vector drawables instead of PNGs for material icons
...
For all manually-created images PNG have been kept.
- rename all icon attrs to have a `ic_` prefix
- always use `_24dp` icons, because there is no real difference, since they are vector drawables
- always use the original name found on material.io for icon drawables, as to not create confusion and possibly duplicates. Icon names can still be different from real drawable names, though I have made some of them compliant to this or maybe more meaningul.
- remove duplicate `getIconByAttr()` in ThemeHelper (use `resolveResourceIdFromAttr()`
- use standard icons for `expand_more` and `expand_less` instead of triangles
- use `play_button_outline` instead of custom PNG as play button in VideoDetailFragment (questionable, as there is no shadow anymore)
2020-05-21 15:39:35 +02:00
wb9688
c2fba29994
Merge pull request #3511 from wb9688/ktlint
...
Ktlint
2020-05-04 15:13:07 +02:00
wb9688
2f237c38f6
Merge pull request #2727 from vnagel/ageRestrictedContent
...
Restricted mode setting for youtube
2020-05-04 15:05:11 +02:00
Tobias Groza
cceb601be2
Merge pull request #3480 from wb9688/update-nanojson
...
Use our nanojson fork
2020-05-02 16:17:29 +02:00
wb9688
15719e4dde
Use our nanojson fork
2020-05-02 16:03:15 +02:00
wb9688
d770cf5657
Auto-format using Ktlint
2020-05-01 20:13:21 +02:00
bopol
1e4e731a6a
Better detection of TV devices
...
Some devices were not detected as TV even though they are
2020-04-25 12:04:44 +02:00
Vincent Nagel
6bd25dc805
rename setting to "YouTube restricted mode"
2020-04-20 21:47:32 -05:00
Vincent Nagel
eed9fe2684
renamed to "restricted mode"
2020-04-20 21:46:40 -05:00
Vincent Nagel
51eb594695
added logging when context null in onPrefTreeClick
2020-04-20 21:45:32 -05:00
Vincent Nagel
bd1c43cd37
ageRestrictedContent cookie only sent for youtube
...
Now the age restricted content cookie is only sent when sending a
request to youtube. There's no need to remove the cookie when the
service changes because whether to add the cookie is determined by
looking at the url the request is being sent to.
2020-04-20 21:45:32 -05:00
Vincent Nagel
b1c310ce22
ageRestrictedContent first draft
...
Cookie updated whenever ageRestrictedContent setting is changed or
service is changed. Right now there is only a cookie for youtube, but
cookies for other services could be added in the future.
Problems with this approach: Even when the service is set to youtube,
the downloader doesn't only request youtube urls e.g. it also sends
reqeusts to i.ytimg.com, suggestqueries.google.com, and yt3.ggpht.com.
The ageRestrictedContent cookie is not normally sent when sending
requests to these other urls, so doing so might have unknown effects.
2020-04-20 21:45:32 -05:00
Alexander--
2cac8a739d
Merge remote-tracking branch 'newpipe/dev' into rebase
2020-04-11 08:24:05 +06:59
wb9688
9c8349a8ed
Move things back to its original place
2020-04-02 15:57:50 +02:00