Stypox
553b80164b
Move all error-related classes into error package
2021-03-07 17:49:28 +01:00
Stypox
02db971b7c
Set all default settings at the beginning
2021-01-28 18:28:29 +01:00
TiA4f8R
79e98db3bd
Apply the requested changes and little improvements
...
Apply the requested changes, use ShareUtils.shareText to share an stream in the play queue and optimize imports for Java files, using Android Studio functionality.
Apply the requested changes and do little improvements
Apply the requested changes, use ShareUtils.shareText to share an stream in the play queue and optimize imports for Java files, using Android Studio functionality.
2021-01-16 13:23:42 +01:00
XiangRongLin
716d795970
cleanup
2021-01-03 20:32:16 +01:00
XiangRongLin
fcfdcd1025
Fix ensureDbDirectoryExists
2021-01-03 20:32:16 +01:00
XiangRongLin
af119db1d7
Extract settings file deletion
2021-01-03 20:32:16 +01:00
XiangRongLin
122e80fae9
Remove subclasses from ContentSettingsManagerTest
...
ExportTest provides no value.
ImportTest creates temporary files even if not needed.
2021-01-03 20:32:16 +01:00
XiangRongLin
8fceffd6fd
Introduce NewPipeFileLocator class
2021-01-03 20:32:16 +01:00
XiangRongLin
19cd3a17df
Move isValidZipFile to ZipHelper
2021-01-03 20:32:16 +01:00
XiangRongLin
ea91a62c89
Adjust ExportTest to new DI with FileLocator
2021-01-03 20:32:16 +01:00
XiangRongLin
cef791ba1b
Introduce NewPipeFileLocator class
...
It handles locating specific NewPipe files based on the home directory of the app.
2021-01-03 20:32:16 +01:00
XiangRongLin
f78a7fa630
Extract import database logic in ContentSettingsManager
2021-01-03 20:32:16 +01:00
Isira Seneviratne
14a2171035
Use Objects.requireNonNull().
2021-01-02 09:36:33 +05:30
Isira Seneviratne
d6121c8e21
Use view binding in SettingsActivity.
2020-12-19 04:22:01 +05:30
XiangRongLin
a7723373a0
Fix compile error caused by auto merging
...
#5176 changed `homeDir` from type `String` to `File`. #5059 was based on `homeDir` being a `String`. It was incorrectly auto-resolved by git.
2020-12-15 20:26:38 +01:00
Stypox
d46c7eb8fe
Merge pull request #5059 from XiangRongLin/content_settings_manager
...
Extract export database logic into own class
2020-12-15 10:34:32 +01:00
Stypox
276f50a944
Merge pull request #5178 from Isira-Seneviratne/Use_ActivityCompat_recreate
...
Use ActivityCompat.recreate().
2020-12-15 09:49:14 +01:00
Isira Seneviratne
807e4d4af9
Use ActivityCompat.recreate().
2020-12-15 13:55:05 +05:30
Isira Seneviratne
30613b7064
Use ContextCompat.getDataDir().
2020-12-15 08:02:25 +05:30
XiangRongLin
f7f00293cc
Extract export database logic into own class
...
- Separate it from the UI.
- Add happy path unit test.
2020-12-04 18:30:29 +01:00
Stypox
f0ca916432
Update most dependencies
2020-11-22 14:03:10 +01:00
Isira Seneviratne
95333d37c8
Use try-with-resources.
2020-11-21 13:47:13 +05:30
Isira Seneviratne
340b92e32b
Convert ErrorInfo to Kotlin and use the Parcelize annotation.
2020-11-21 12:47:35 +05:30
TacoTheDank
2669ba944d
Correct some other small lints
2020-11-19 18:54:27 -05:00
TacoTheDank
39e5d8ccc2
Lint: Make a bunch of stuff final
2020-11-18 17:50:00 -05:00
Stypox
9e7fb4d21a
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
ef5084036c
Use RxJava instead of AsyncTask to check for new app versions.
2020-11-05 11:06:50 +05:30
Stypox
1f73572dd3
Fix playlist select dialog and do some refactoring
2020-11-02 14:24:39 +01:00
Xiang Rong Lin
974f8f692c
Add option to not colorize notification
2020-11-01 22:13:00 +01:00
XiangRongLin
008eb5ba4a
Convert notification actions to a custom preference ( #4652 )
2020-10-31 11:58:33 +01:00
Isira Seneviratne
0bd624dfa9
Use DrawableCompat.
2020-10-25 21:01:53 +05:30
Isira Seneviratne
187aaafddc
Use TextViewCompat.setCompoundDrawablesRelativeWithIntrinsicBounds().
2020-10-22 06:01:49 +05:30
wb9688
2c23678fb9
Add button in settings to clear reCAPTCHA cookies
2020-10-14 14:39:08 +02:00
Stypox
724a260f71
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
f6d0c1f05e
Fix compiling release build
2020-10-08 18:36:20 +02:00
wb9688
ca9fbe2f11
Hide Leaks launcher icon
2020-10-07 12:56:22 +02:00
Stypox
36248ff046
Also delete stream state when deleting stream history
2020-10-05 17:47:48 +02:00
Tobias Groza
d5f603303d
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
3c4a4e5384
Set default value for "minimize_on_exit" to background for better UX.
2020-09-26 21:58:38 +02:00
TobiGr
0e5f85db95
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
ad3364671d
Add migration concept for shared preferences
2020-09-26 21:43:58 +02:00
Stypox
11e048abb1
Remove hardcoded and duplicate strings, use exoplayer ones
2020-09-22 18:17:09 +02:00
Stypox
a13e6b69e3
Merge branch 'dev' into pr3178
2020-09-08 23:58:10 +02:00
Stypox
71b32fe641
Add notification costumization settings menu
2020-09-08 22:00:24 +02:00
Stypox
408e819d32
Extract duplicate setActivityTitle code to own function
2020-09-07 15:28:38 +02:00
TacoTheDank
f86b40302d
Some general-purpose lint cleanup
2020-09-06 12:55:26 +02:00
TacoTheDank
273c287fbf
Fix some lambdas
2020-09-06 12:52:43 +02:00
TacoTheDank
ba6c7de35a
Use AndroidX preference
2020-09-06 12:52:42 +02:00
TobiGr
c66c81294e
Remove unused and redundant code.
2020-09-01 17:39:06 +02:00
wb9688
87228673b4
Use final where possible
2020-08-16 10:25:09 +02:00