Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
321 commits
Select commit Hold shift + click to select a range
98ae78e
Translated using Weblate (Hindi)
mitesh-mutha Oct 31, 2019
6011dec
Translated using Weblate (Portuguese (Brazil))
fitojb Oct 30, 2019
fd4a4d9
Translated using Weblate (Russian)
Oct 29, 2019
0790a43
Translated using Weblate (Asturian)
enolp Nov 1, 2019
19738c0
Translated using Weblate (Japanese)
mitosagi Nov 2, 2019
e05def4
Translated using Weblate (Hindi)
comradekingu Nov 2, 2019
59f90fc
Translated using Weblate (Polish)
Oct 31, 2019
7c70033
Translated using Weblate (Spanish)
fitojb Oct 30, 2019
e25c554
Translated using Weblate (French)
VeryTastyTomato Oct 31, 2019
2839154
Translated using Weblate (Korean)
Nov 2, 2019
2ce0caa
Translated using Weblate (Spanish)
comradekingu Nov 2, 2019
2d41022
Merge remote-tracking branch 'Weblate/dev' into dev
TobiGr Nov 3, 2019
137fabe
Update Gradle and introduce Kotlin
mauriciocolli Apr 28, 2019
1a9b3c9
Merge pull request #2714 from mauriciocolli/introduce-kotlin
TobiGr Nov 3, 2019
114a7cc
Make "Default Kiosk" string translatable
TobiGr Nov 4, 2019
504f45e
Translated using Weblate (Spanish)
fitojb Nov 4, 2019
4db4b3a
Translated using Weblate (Russian)
Nov 4, 2019
58181ee
Translated using Weblate (Macedonian)
rissilver Nov 4, 2019
5e7b635
Merge branch 'origin/dev' into Weblate.
weblate Nov 4, 2019
ab3b8d0
Translated using Weblate (Russian)
Nov 4, 2019
f84907e
Translated using Weblate (Russian)
Nov 5, 2019
72adb7a
Translated using Weblate (Russian)
Nov 5, 2019
fdab92c
Translated using Weblate (Spanish)
Swyter Nov 4, 2019
225647c
Translated using Weblate (Spanish)
larjona Nov 5, 2019
a43c434
Translated using Weblate (Norwegian Bokmål)
comradekingu Nov 4, 2019
e5afffd
Translated using Weblate (Norwegian Bokmål)
Nov 6, 2019
3e079a6
Bump ExoPlayer to 2.10.7
Redirion Nov 7, 2019
655993d
Translated using Weblate (Russian)
Nov 8, 2019
577bfab
Merge pull request #2791 from Redirion/patch-2
TobiGr Nov 9, 2019
4daae95
Translated using Weblate (Turkish)
Nov 4, 2019
28f87dc
Translated using Weblate (German)
SantosSi Nov 5, 2019
a3dff2c
Translated using Weblate (Japanese)
naofum Nov 5, 2019
f82dd3e
Translated using Weblate (Portuguese)
SantosSi Nov 4, 2019
720bff0
Translated using Weblate (Hebrew)
yarons Nov 5, 2019
ceb1d70
Translated using Weblate (Macedonian)
rissilver Nov 5, 2019
727fb27
Translated using Weblate (Arabic)
Nov 8, 2019
1561c21
Translated using Weblate (Indonesian)
zmni Nov 5, 2019
f0c7cb9
Translated using Weblate (Spanish)
fitojb Nov 6, 2019
b772afe
Translated using Weblate (Slovak)
Nov 7, 2019
f7be693
Translated using Weblate (Chinese (Traditional))
s8321414 Nov 5, 2019
b5058f9
Translated using Weblate (Norwegian Bokmål)
Nov 6, 2019
754fe3a
Merge branch 'origin/dev' into Weblate.
weblate Nov 9, 2019
0886c6b
Make reCAPTCHA string untranslatable
Nov 11, 2019
0ee6c1e
Translated using Weblate (Turkish)
Nov 10, 2019
af70fdd
Translated using Weblate (Esperanto)
Nov 10, 2019
ed4196f
Translated using Weblate (Japanese)
naofum Nov 11, 2019
86d4cf3
Translated using Weblate (Hindi)
mitesh-mutha Nov 12, 2019
e382930
Translated using Weblate (Spanish)
fitojb Nov 13, 2019
4d4a86f
Translated using Weblate (French)
Nov 10, 2019
cb6d7e6
Translated using Weblate (Finnish)
pekkarr Nov 11, 2019
f4dbd5c
Translated using Weblate (Korean)
EATSTEAK Nov 10, 2019
b665122
Translated using Weblate (Chinese (Traditional))
s8321414 Nov 11, 2019
f449aee
Translated using Weblate (Ukrainian)
winqooq Nov 14, 2019
cb19f79
Translated using Weblate (Polish)
Nov 14, 2019
9915287
Translated using Weblate (Arabic)
Nov 14, 2019
b6be586
merged upstream/dev
yausername Nov 15, 2019
d694e61
Translated using Weblate (French)
VeryTastyTomato Nov 16, 2019
0338ff8
Translated using Weblate (Swedish)
mattiasmun Nov 16, 2019
8ac8258
Translated using Weblate (Finnish)
pekkarr Nov 15, 2019
bdb86a7
Translated using Weblate (Chinese (Simplified))
chr56 Nov 16, 2019
71f1bbd
Use new Localization and Downloader implementations from extractor
mauriciocolli Oct 28, 2019
6e54670
Show proper text for live streams watching/listening count
mauriciocolli Oct 28, 2019
b125ff7
Show parsed relative times instead of whatever the service gives us
mauriciocolli Oct 28, 2019
a8e326c
Merge pull request #2713 from mauriciocolli/compatibility-extractor
TobiGr Nov 18, 2019
dcd7055
Bump ExoPlayer to 2.10.8
Redirion Nov 19, 2019
3ad8883
Translated using Weblate (Portuguese (Brazil))
Nov 18, 2019
406d02f
Translated using Weblate (German)
Nov 17, 2019
495fa17
Translated using Weblate (French)
VeryTastyTomato Nov 17, 2019
8b26e5b
Translated using Weblate (Chinese (Simplified))
chr56 Nov 17, 2019
3ea8841
Merge branch 'origin/dev' into Weblate.
weblate Nov 19, 2019
c9cbb1e
Merge pull request #2816 from Redirion/patch-3
TobiGr Nov 19, 2019
e9c9dfc
Merge pull request #2799 from Ozyc/patch-1
TobiGr Nov 19, 2019
c0cbec7
Merge remote-tracking branch 'Weblate/dev' into dev
TobiGr Nov 19, 2019
6979961
Translated using Weblate (German)
nautilusx Nov 19, 2019
0491c4a
Translated using Weblate (Turkish)
Nov 19, 2019
3798d52
Translated using Weblate (German)
Nov 19, 2019
4ded3ad
Translated using Weblate (Esperanto)
Nov 19, 2019
44192d6
Translated using Weblate (English)
comradekingu Nov 19, 2019
7b56244
Translated using Weblate (Russian)
AKonia Nov 19, 2019
784b9cf
Translated using Weblate (Catalan)
marcriera Nov 19, 2019
93e99d0
Translated using Weblate (Portuguese)
SantosSi Nov 19, 2019
82738e2
Translated using Weblate (French)
Nov 19, 2019
2f575c1
Translated using Weblate (Norwegian Bokmål)
comradekingu Nov 19, 2019
14ee7d5
Merge branch 'origin/dev' into Weblate.
weblate Nov 19, 2019
596005c
merged upstream/dev
yausername Nov 19, 2019
7e311e5
Fix mess with tab handling and enable ignored tests again
mauriciocolli Oct 20, 2019
58a626d
Fix broken view pager tabs implementation
mauriciocolli Oct 20, 2019
a5b7666
Clear the item list when starting loading
mauriciocolli Oct 20, 2019
38a0395
Enable toolbar title visibility when setting a new one
mauriciocolli Oct 20, 2019
544cae4
Use tab position from parameters instead of relying on the view pager
mauriciocolli Oct 20, 2019
bc283bc
Make the KioskFragment aware of changes in the preferred content country
mauriciocolli Oct 20, 2019
ceabfd1
updated extractor
yausername Nov 21, 2019
9cdec5d
Translated using Weblate (Turkish)
Nov 20, 2019
e900a69
Translated using Weblate (German)
nautilusx Nov 20, 2019
4061145
Translated using Weblate (Esperanto)
Nov 19, 2019
59f76ef
Translated using Weblate (Japanese)
naofum Nov 20, 2019
8408945
Translated using Weblate (Hebrew)
yarons Nov 19, 2019
2733095
Translated using Weblate (Polish)
Nov 20, 2019
912f09c
Translated using Weblate (Indonesian)
zmni Nov 20, 2019
f3988c3
Translated using Weblate (French)
Nov 19, 2019
719d865
Translated using Weblate (Chinese (Traditional))
s8321414 Nov 20, 2019
b9d6d55
Merge pull request #2742 from mauriciocolli/fix-mess-tabs
TobiGr Nov 21, 2019
2ad0d47
Fix popup player gestures
mitosagi Nov 2, 2019
81658de
merged upstream/dev
yausername Nov 22, 2019
ac2543d
validate peertube instance. changed peertube color
yausername Nov 22, 2019
afef8d8
removed extra white spaces
yausername Nov 22, 2019
31fab60
Translated using Weblate (Chinese (Simplified))
chr56 Nov 22, 2019
cedfbf5
Translated using Weblate (Russian)
Nov 21, 2019
0f70aeb
Translated using Weblate (Dutch)
narayaan Nov 21, 2019
e21257b
Translated using Weblate (Swedish)
mattiasmun Nov 22, 2019
6452c7e
Translated using Weblate (Flemish)
narayaan Nov 21, 2019
424d3fd
Merge branch 'origin/dev' into Weblate.
weblate Nov 23, 2019
5e87463
Translated using Weblate (Chinese (Simplified))
chr56 Nov 23, 2019
2b2de88
Merge pull request #2772 from mitosagi/popup-player-gestures
TobiGr Nov 23, 2019
0fb7eab
Fix code formatting
TobiGr Nov 23, 2019
0c65f73
Translated using Weblate (Russian)
Nov 23, 2019
46e2f4e
Translated using Weblate (Turkish)
Nov 23, 2019
8227d85
Translated using Weblate (Portuguese)
SantosSi Nov 23, 2019
f122d73
Translated using Weblate (Hebrew)
yarons Nov 23, 2019
55f5f76
Translated using Weblate (Chinese (Simplified))
chr56 Nov 23, 2019
8f52f91
Merge branch 'origin/dev' into Weblate.
weblate Nov 23, 2019
1ce44b3
Translated using Weblate (Russian)
Nov 24, 2019
a68c8ce
Translated using Weblate (Russian)
Nov 24, 2019
8e152df
Remember caption option in player, closes #2811
Nov 24, 2019
52a21e4
implement webm to ogg demuxer
kapodamy Sep 24, 2019
0cdfa6e
rewrite OggFromWebMWriter
kapodamy Sep 25, 2019
3108c90
squashed commit
Nov 24, 2019
c891f2f
long-term downloads resume
kapodamy Sep 28, 2019
429ee7e
Mp4FromDashWriter fixes
kapodamy Sep 29, 2019
160a33e
misc changes
kapodamy Oct 1, 2019
d092e39
fallback for pending downloads directory
kapodamy Oct 1, 2019
9339fc8
update DownloadManager.java
kapodamy Oct 1, 2019
94e2314
update WebMWriter.java
kapodamy Oct 1, 2019
844f80a
update DownloadDialog.java
kapodamy Oct 2, 2019
f62a791
code cleanup
kapodamy Oct 10, 2019
527c38a
easily switch between multiple peertube instances
yausername Nov 24, 2019
3e2dba2
merged origin/peertube-ui
yausername Nov 24, 2019
6a24dce
Merge remote-tracking branch 'upstream/dev' into peertube-ui
yausername Nov 24, 2019
309fd3f
white space changes
yausername Nov 24, 2019
ea1be11
Merge branch 'dev' into dl-last-features
kapodamy Nov 24, 2019
eeeeeef
Merge pull request #2720 from haggaie/hebrew-translation
TobiGr Nov 24, 2019
14de2f2
Merge branch 'dev' into dl-last-features
kapodamy Nov 26, 2019
773aa1e
implement webm to ogg demuxer
kapodamy Sep 24, 2019
dab5345
rewrite OggFromWebMWriter
kapodamy Sep 25, 2019
86dafdd
long-term downloads resume
kapodamy Sep 28, 2019
5707381
Mp4FromDashWriter fixes
kapodamy Sep 29, 2019
4292ca9
misc changes
kapodamy Oct 1, 2019
60d4c8a
fallback for pending downloads directory
kapodamy Oct 1, 2019
da052df
update DownloadManager.java
kapodamy Oct 1, 2019
8a992d4
update WebMWriter.java
kapodamy Oct 1, 2019
763995d
update DownloadDialog.java
kapodamy Oct 2, 2019
e6d9d8e
code cleanup
kapodamy Oct 10, 2019
3ca4614
Merge branch 'dev' into dl-last-features
kapodamy Nov 24, 2019
0033843
Merge branch 'dl-last-features' of https://github.com/kapodamy/NewPip…
kapodamy Nov 26, 2019
84ec320
commit
kapodamy Nov 26, 2019
baee238
Translated using Weblate (Portuguese (Brazil))
Nov 28, 2019
e37a86e
Translated using Weblate (German)
SantosSi Nov 24, 2019
8741856
Translated using Weblate (Japanese)
naofum Nov 23, 2019
2ad0792
Translated using Weblate (Catalan)
BennyBeat Nov 28, 2019
c470797
Translated using Weblate (Czech)
zeritti Nov 24, 2019
27f38f3
Translated using Weblate (Polish)
Nov 24, 2019
0df5d7a
Translated using Weblate (Italian)
Nov 26, 2019
da82e3f
Translated using Weblate (Dutch)
narayaan Nov 25, 2019
3bce9a8
Translated using Weblate (Spanish)
j9o1 Nov 27, 2019
7dd7ea1
Translated using Weblate (Spanish)
Nov 28, 2019
6c0f5be
Translated using Weblate (French)
Floflr Nov 24, 2019
8039055
Translated using Weblate (Chinese (Traditional))
s8321414 Nov 25, 2019
6e289b4
Merge branch 'origin/dev' into Weblate.
weblate Nov 29, 2019
77d3a1e
Translated using Weblate (Arabic)
Nov 30, 2019
4c89d1a
Merge remote-tracking branch 'upstream/dev' into peertube-ui
yausername Dec 2, 2019
890d1cb
update extractor, kiosk names and icons
yausername Dec 2, 2019
17c5e73
null check on share
yausername Dec 2, 2019
0c40a45
use plurals
yausername Dec 2, 2019
9e290ce
Translated using Weblate (Basque)
osoitz Dec 1, 2019
f587d79
Translated using Weblate (Norwegian Bokmål)
comradekingu Dec 1, 2019
d32ad36
reorder peertube settings entry
yausername Dec 3, 2019
7a67d19
updated extractor
yausername Dec 3, 2019
d2a59ec
grammar fix
yausername Dec 4, 2019
0ccd30b
Translated using Weblate (Portuguese (Brazil))
Dec 4, 2019
c15cead
Translated using Weblate (Esperanto)
Dec 3, 2019
aae8865
remove unused imports
kapodamy Dec 5, 2019
c6cd2dd
Translated using Weblate (Basque)
dgarciabad Dec 5, 2019
eb15bc9
Translated using Weblate (Arabic)
Dec 5, 2019
3ff2da3
Translated using Weblate (Spanish)
dgarciabad Dec 5, 2019
7d80d04
Remove unused code pt1
PeterHindes Dec 6, 2019
c056339
Update app/src/main/java/org/schabi/newpipe/local/holder/RemotePlayli…
PeterHindes Dec 6, 2019
693756b
Removed redundant. Related to last merge
PeterHindes Dec 6, 2019
ae88b4c
remove unused code pt2
PeterHindes Dec 6, 2019
ef69625
Merge branch 'dev' into dev
PeterHindes Dec 6, 2019
5a2cd93
remove netbeans editor-fold comments
kapodamy Dec 6, 2019
0393955
add missing change after updating NPE
kapodamy Dec 7, 2019
c2b1d45
Merge pull request #2679 from kapodamy/dl-last-features
TobiGr Dec 7, 2019
27ca9ed
Merge branch 'dev' into remember-subtitles
TobiGr Dec 9, 2019
e92ca5e
Merge pull request #2820 from Redirion/remember-subtitles
TobiGr Dec 9, 2019
98d7e6b
Merge branch 'dev' into dev
PeterHindes Dec 9, 2019
fd5f4d9
merged upstream/dev
yausername Dec 9, 2019
a0151f2
more grammar fix
yausername Dec 10, 2019
b2bbdc6
Merge pull request #2201 from yausername/peertube-ui
TobiGr Dec 10, 2019
054279d
Update app/src/main/res/values/strings.xml
PeterHindes Dec 10, 2019
7844547
not used
PeterHindes Dec 10, 2019
881efb9
Merge branch 'dev' of https://github.com/PeterHindes/NewPipe into dev
PeterHindes Dec 10, 2019
68a1407
Dont update this
PeterHindes Dec 10, 2019
ea70a1f
no change
PeterHindes Dec 10, 2019
23ee225
Merge branch 'dev' of https://github.com/PeterHindes/NewPipe into dev
PeterHindes Dec 10, 2019
f4c6a49
Revert "Merge branch 'dev' of https://github.com/PeterHindes/NewPipe …
PeterHindes Dec 10, 2019
d8e6a5c
Merge branch 'dev' into dev
PeterHindes Dec 10, 2019
19fb8cf
Update app/src/main/java/org/schabi/newpipe/local/holder/RemotePlayli…
PeterHindes Dec 10, 2019
b365973
fix last recomendation. syntax and imports
PeterHindes Dec 10, 2019
0f04dd6
Merge pull request #2724 from PeterHindes/dev
Stypox Dec 10, 2019
59c1961
Add PeerTube to README.md
Stypox Dec 10, 2019
d0e0727
Merge pull request #2856 from TeamNewPipe/Stypox-patch-1
TobiGr Dec 10, 2019
06af26f
Black navigation bar for black theme
marcovr Aug 27, 2019
7e78197
Avoid duplicated code & dark navbar for DarkTheme
marcovr Oct 15, 2019
d90588c
Fix style version
marcovr Oct 15, 2019
d660e4a
Translated using Weblate (Tamil)
totamarusenku Dec 6, 2019
db07b81
Translated using Weblate (Italian)
pjammo Dec 6, 2019
e01e0d5
Translated using Weblate (Chinese (Simplified))
chr56 Dec 7, 2019
7e5aaab
Translated using Weblate (Greek)
siourdakis Dec 11, 2019
a81b791
Translated using Weblate (Hindi)
mitesh-mutha Dec 11, 2019
6029e18
Merge pull request #2569 from marcovr/dev
TobiGr Dec 12, 2019
b883ad1
Update extractor to TeamNewPipe/NewPipeExtractor@8cb3250
TobiGr Dec 12, 2019
13306b5
Merge remote-tracking branch 'Weblate/dev' into dev
TobiGr Dec 12, 2019
901c63d
Rename default_kiosk_page_sumatry to default_kiosk_page_summary
TobiGr Dec 12, 2019
bbf3c37
Delete direct_on_background translations
TobiGr Dec 12, 2019
bac2045
Delete error_http_requested_range_not_satisfiable translations
TobiGr Dec 12, 2019
d68009f
Delete msg_pending_downloads translations
TobiGr Dec 12, 2019
8f83c21
Delete overwrite_warning translations
TobiGr Dec 12, 2019
ec1de98
Migrate annotation to androidx
spk Dec 12, 2019
6fcae39
Delete toggle_leak_canary translation
TobiGr Dec 12, 2019
b976e40
Delete view_history_deleted translation
TobiGr Dec 12, 2019
fa8483b
Merge pull request #2860 from spk/fix-cannot-resolv-symbol
TobiGr Dec 12, 2019
5503649
Add new preference for seek duration.
XiangRongLin Oct 21, 2019
dcd35b0
Adjust BasePlayer to use seek duration of preferences.
XiangRongLin Oct 21, 2019
17146c2
Rename adjustable seek duration setting
XiangRongLin Nov 6, 2019
949c01b
Extract getting of seek duration into a function
XiangRongLin Nov 25, 2019
3344371
Remove local variable for seek duration
XiangRongLin Nov 25, 2019
8970a66
Rename "seek_duration_default_key" and use it in BasePlayer
XiangRongLin Dec 12, 2019
88a6e59
Merge pull request #2744 from XiangRongLin/seek
TobiGr Dec 13, 2019
c045306
Enable TLS v1.1/1.2 for KitKat devices
mqus Dec 8, 2019
3e409b9
Fix formatting and remove unused code
mqus Dec 4, 2019
23c2f74
Add trying out some more cipher suites which may be supported on non-…
mqus Dec 11, 2019
559bcfc
Remove commented-out code and hide stacktraces in release mode
mqus Dec 13, 2019
c8c7d23
fix add instance dialog
yausername Dec 14, 2019
755dff3
Merge pull request #2792 from mqus/dev
TobiGr Dec 14, 2019
f995ba1
Merge pull request #2868 from yausername/fix-add-instance-dialog
TobiGr Dec 15, 2019
f58f663
Translated using Weblate (Spanish)
fitojb Dec 16, 2019
2ebe5aa
Translated using Weblate (Polish)
Dec 17, 2019
e7ef193
Merge remote-tracking branch 'Weblate/dev' into dev
TobiGr Dec 18, 2019
3f52938
Bump version to 0.18.0 and version code to 800
TobiGr Dec 12, 2019
92a4223
Add changelog
TobiGr Dec 15, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ NewPipe supports multiple services. Our [docs](https://teamnewpipe.github.io/doc
* YouTube
* SoundCloud \[beta\]
* media.ccc.de \[beta\]
* PeerTube instances \[beta\]

## Updates
When a change to the NewPipe code occurs (due to either adding features or bug fixing), eventually a release will occur. These are in the format x.xx.x . In order to get this new version, you can:
Expand Down
19 changes: 13 additions & 6 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-kapt'

android {
compileSdkVersion 28
Expand All @@ -8,8 +11,8 @@ android {
applicationId "org.schabi.newpipe"
minSdkVersion 19
targetSdkVersion 28
versionCode 790
versionName "0.17.4"
versionCode 800
versionName "0.18.0"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true
Expand Down Expand Up @@ -44,7 +47,7 @@ android {

ext {
androidxLibVersion = '1.0.0'
exoPlayerLibVersion = '2.10.6'
exoPlayerLibVersion = '2.10.8'
roomDbLibVersion = '2.1.0'
leakCanaryLibVersion = '1.5.4' //1.6.1
okHttpLibVersion = '3.12.6'
Expand All @@ -53,11 +56,14 @@ ext {
}

dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"

androidTestImplementation('androidx.test.espresso:espresso-core:3.1.0', {
exclude module: 'support-annotations'
})

implementation 'com.github.teamnewpipe:NewPipeExtractor:v0.17.4'
implementation 'com.github.TeamNewPipe:NewPipeExtractor:8cb3250'

testImplementation 'junit:junit:4.12'
testImplementation 'org.mockito:mockito-core:2.23.0'

Expand Down Expand Up @@ -89,13 +95,14 @@ dependencies {
implementation 'io.reactivex.rxjava2:rxjava:2.2.2'
implementation 'io.reactivex.rxjava2:rxandroid:2.1.0'
implementation 'com.jakewharton.rxbinding2:rxbinding:2.1.1'
implementation 'org.ocpsoft.prettytime:prettytime:4.0.1.Final'

implementation "androidx.room:room-runtime:${roomDbLibVersion}"
implementation "androidx.room:room-rxjava2:${roomDbLibVersion}"
annotationProcessor "androidx.room:room-compiler:${roomDbLibVersion}"
kapt "androidx.room:room-compiler:${roomDbLibVersion}"

implementation "frankiesardo:icepick:${icepickLibVersion}"
annotationProcessor "frankiesardo:icepick-processor:${icepickLibVersion}"
kapt "frankiesardo:icepick-processor:${icepickLibVersion}"

debugImplementation "com.squareup.leakcanary:leakcanary-android:${leakCanaryLibVersion}"
releaseImplementation "com.squareup.leakcanary:leakcanary-android-no-op:${leakCanaryLibVersion}"
Expand Down
3 changes: 3 additions & 0 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
#}

-dontobfuscate
-keep class org.schabi.newpipe.extractor.timeago.patterns.** { *; }
-keep class org.ocpsoft.prettytime.i18n.** { *; }

-keep class org.mozilla.javascript.** { *; }

-keep class org.mozilla.classfile.ClassFileWriter
Expand Down
4 changes: 2 additions & 2 deletions app/src/debug/java/org/schabi/newpipe/DebugApp.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import com.squareup.leakcanary.LeakDirectoryProvider;
import com.squareup.leakcanary.RefWatcher;

import org.schabi.newpipe.extractor.Downloader;
import org.schabi.newpipe.extractor.downloader.Downloader;

import java.io.File;
import java.util.concurrent.TimeUnit;
Expand All @@ -39,7 +39,7 @@ public void onCreate() {

@Override
protected Downloader getDownloader() {
return org.schabi.newpipe.Downloader.init(new OkHttpClient.Builder()
return DownloaderImpl.init(new OkHttpClient.Builder()
.addNetworkInterceptor(new StethoInterceptor()));
}

Expand Down
15 changes: 11 additions & 4 deletions app/src/main/java/org/schabi/newpipe/App.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
import android.app.NotificationManager;
import android.content.Context;
import android.os.Build;
import android.util.Log;

import androidx.annotation.Nullable;
import android.util.Log;

import com.nostra13.universalimageloader.cache.memory.impl.LRULimitedMemoryCache;
import com.nostra13.universalimageloader.core.ImageLoader;
Expand All @@ -21,13 +21,15 @@
import org.acra.config.ACRAConfigurationException;
import org.acra.config.ConfigurationBuilder;
import org.acra.sender.ReportSenderFactory;
import org.schabi.newpipe.extractor.Downloader;
import org.schabi.newpipe.extractor.NewPipe;
import org.schabi.newpipe.extractor.downloader.Downloader;
import org.schabi.newpipe.report.AcraReportSenderFactory;
import org.schabi.newpipe.report.ErrorActivity;
import org.schabi.newpipe.report.UserAction;
import org.schabi.newpipe.settings.SettingsActivity;
import org.schabi.newpipe.util.ExtractorHelper;
import org.schabi.newpipe.util.Localization;
import org.schabi.newpipe.util.ServiceHelper;
import org.schabi.newpipe.util.StateSaver;

import java.io.IOException;
Expand Down Expand Up @@ -95,10 +97,15 @@ public void onCreate() {
SettingsActivity.initSettings(this);

NewPipe.init(getDownloader(),
org.schabi.newpipe.util.Localization.getPreferredExtractorLocal(this));
Localization.getPreferredLocalization(this),
Localization.getPreferredContentCountry(this));
Localization.init();

StateSaver.init(this);
initNotificationChannel();

ServiceHelper.initServices(this);

// Initialize image loader
ImageLoader.getInstance().init(getImageLoaderConfigurations(10, 50));

Expand All @@ -109,7 +116,7 @@ public void onCreate() {
}

protected Downloader getDownloader() {
return org.schabi.newpipe.Downloader.init(null);
return DownloaderImpl.init(null);
}

private void configureRxJavaErrorHandler() {
Expand Down
1 change: 1 addition & 0 deletions app/src/main/java/org/schabi/newpipe/BaseFragment.java
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ public void setTitle(String title) {
if (DEBUG) Log.d(TAG, "setTitle() called with: title = [" + title + "]");
if((!useAsFrontPage || mIsVisibleToUser)
&& (activity != null && activity.getSupportActionBar() != null)) {
activity.getSupportActionBar().setDisplayShowTitleEnabled(true);
activity.getSupportActionBar().setTitle(title);
}
}
Expand Down
Loading