This patch copies all the relevant files for Kitkat from main to the legacy flavor unmodified.
The relevant files are gathered from commit 189c92affa
'More minSdk 21 cleanup'
These files are the base to reapply above 'More minSdk 21 cleanup' commit
in reverse in a later patch.
This patch copies all the relevant files for kitkat from main to the legacy flavor unmodified.
The relevant files are gathered from commit 99104fc11d
'Clean up pre-Lollipop checks'
These files are the base to reapply above 'Clean up pre-Lollipop checks' commit
in reverse in a later patch.
DownloaderImpl:
- add: reInitInterceptors() method to recreate in case of config changes
BraveDownloaderImplUtils:
- add: BraveTimeoutInterceptor that handles the custom timeout via temporary http header.
- OkHttpClient is now instantiated right away. This should be the only instance
within the app.
- All OkHttpClient.Builder instances should be retrieved via
DownloaderImpl.getNewBuilder() which delegates the call to
OkHttpClient.newBuilder() So we are not recreating the whole ConnectionPool etc.
SponsorBlock/ReturnYouTubeDislike created a new OkHttpClient each call if
setCustomTimeout() was set once. This commit restores DownloaderImpl back.
-> the calls to setCustomTimeout() will be replaced with a custom http header
solution
- update RUMBLE/BITCHUTE to new Tab-Framework
- RUMBLE: most issues should be fixed#119
- BITCHUTE: Broken: Trending -> account is now needed -> CANTFIX
- BITCHUTE: Broken: import of many subscriptions will fail due to use of reCatchpa
-> may implement a workaround - if I've some time
Currently translated at 100.0% (725 of 725 strings)
Translated using Weblate (Danish)
Currently translated at 88.2% (640 of 725 strings)
Translated using Weblate (Serbian)
Currently translated at 17.1% (13 of 76 strings)
Translated using Weblate (Indonesian)
Currently translated at 100.0% (76 of 76 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (76 of 76 strings)
Translated using Weblate (Filipino)
Currently translated at 32.1% (233 of 725 strings)
Translated using Weblate (Indonesian)
Currently translated at 100.0% (725 of 725 strings)
Translated using Weblate (Romanian)
Currently translated at 99.4% (721 of 725 strings)
Translated using Weblate (Spanish)
Currently translated at 100.0% (76 of 76 strings)
Translated using Weblate (Indonesian)
Currently translated at 97.3% (74 of 76 strings)
Translated using Weblate (Arabic (Libya))
Currently translated at 100.0% (725 of 725 strings)
Translated using Weblate (French)
Currently translated at 100.0% (725 of 725 strings)
Translated using Weblate (Arabic)
Currently translated at 100.0% (76 of 76 strings)
Translated using Weblate (Italian)
Currently translated at 100.0% (76 of 76 strings)
Translated using Weblate (Polish)
Currently translated at 61.8% (47 of 76 strings)
Translated using Weblate (Hindi)
Currently translated at 100.0% (76 of 76 strings)
Translated using Weblate (Punjabi)
Currently translated at 100.0% (76 of 76 strings)
Translated using Weblate (Czech)
Currently translated at 100.0% (76 of 76 strings)
Translated using Weblate (Portuguese (Brazil))
Currently translated at 28.9% (22 of 76 strings)
Translated using Weblate (German)
Currently translated at 81.5% (62 of 76 strings)
Merge branch 'origin/dev' into Weblate.
Translated using Weblate (Bengali)
Currently translated at 78.7% (571 of 725 strings)
Translated using Weblate (Basque)
Currently translated at 95.0% (689 of 725 strings)
Translated using Weblate (Turkish)
Currently translated at 43.4% (33 of 76 strings)
Translated using Weblate (Lithuanian)
Currently translated at 92.9% (674 of 725 strings)
Translated using Weblate (Portuguese (Brazil))
Currently translated at 30.2% (23 of 76 strings)
Translated using Weblate (Swedish)
Currently translated at 100.0% (725 of 725 strings)
Translated using Weblate (Swedish)
Currently translated at 100.0% (725 of 725 strings)
Translated using Weblate (Portuguese (Brazil))
Currently translated at 99.8% (724 of 725 strings)
Translated using Weblate (Interlingua)
Currently translated at 32.0% (232 of 725 strings)
Translated using Weblate (Norwegian Bokmål)
Currently translated at 94.6% (686 of 725 strings)
Translated using Weblate (Norwegian Bokmål)
Currently translated at 94.6% (686 of 725 strings)
Translated using Weblate (Romanian)
Currently translated at 89.3% (648 of 725 strings)
Translated using Weblate (German)
Currently translated at 81.5% (62 of 76 strings)
Translated using Weblate (German)
Currently translated at 100.0% (725 of 725 strings)
Translated using Weblate (Filipino)
Currently translated at 32.1% (233 of 725 strings)
Translated using Weblate (Filipino)
Currently translated at 32.1% (233 of 725 strings)
Translated using Weblate (Vietnamese)
Currently translated at 100.0% (725 of 725 strings)
Translated using Weblate (Swedish)
Currently translated at 72.3% (55 of 76 strings)
Translated using Weblate (Esperanto)
Currently translated at 3.9% (3 of 76 strings)
Translated using Weblate (Swedish)
Currently translated at 99.7% (723 of 725 strings)
Translated using Weblate (Esperanto)
Currently translated at 71.0% (515 of 725 strings)
Translated using Weblate (Esperanto)
Currently translated at 2.6% (2 of 76 strings)
Translated using Weblate (Tigrinya)
Currently translated at 8.4% (61 of 725 strings)
Translated using Weblate (Vietnamese)
Currently translated at 43.4% (33 of 76 strings)
Translated using Weblate (German)
Currently translated at 81.5% (62 of 76 strings)
Translated using Weblate (Finnish)
Currently translated at 98.3% (713 of 725 strings)
Translated using Weblate (Vietnamese)
Currently translated at 100.0% (725 of 725 strings)
Translated using Weblate (Esperanto)
Currently translated at 70.0% (508 of 725 strings)
Added translation using Weblate (English (Old))
Added translation using Weblate (Aymara)
Added translation using Weblate (English (Middle))
Added translation using Weblate (Arabic (Najdi))
Added translation using Weblate (German (Low))
Added translation using Weblate (Sicilian)
Added translation using Weblate (Kashmiri)
Added translation using Weblate (Burmese)
Translated using Weblate (Tigrinya)
Currently translated at 3.5% (26 of 725 strings)
Translated using Weblate (Georgian)
Currently translated at 91.1% (661 of 725 strings)
Translated using Weblate (French)
Currently translated at 98.8% (717 of 725 strings)
Translated using Weblate (Vietnamese)
Currently translated at 42.1% (32 of 76 strings)
Translated using Weblate (Vietnamese)
Currently translated at 100.0% (725 of 725 strings)
Translated using Weblate (Interlingua)
Currently translated at 31.3% (227 of 725 strings)
Translated using Weblate (Vietnamese)
Currently translated at 35.5% (27 of 76 strings)
Translated using Weblate (Esperanto)
Currently translated at 69.2% (502 of 725 strings)
Translated using Weblate (Esperanto)
Currently translated at 69.2% (502 of 725 strings)
Translated using Weblate (German)
Currently translated at 81.5% (62 of 76 strings)
Translated using Weblate (Punjabi)
Currently translated at 100.0% (725 of 725 strings)
Translated using Weblate (Bulgarian)
Currently translated at 63.8% (463 of 725 strings)
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (725 of 725 strings)
Translated using Weblate (Esperanto)
Currently translated at 66.3% (481 of 725 strings)
Translated using Weblate (French)
Currently translated at 98.6% (715 of 725 strings)
Translated using Weblate (Vietnamese)
Currently translated at 100.0% (725 of 725 strings)
Translated using Weblate (Turkish)
Currently translated at 31.5% (24 of 76 strings)
Translated using Weblate (Vietnamese)
Currently translated at 97.3% (706 of 725 strings)
Translated using Weblate (Swedish)
Currently translated at 98.4% (714 of 725 strings)
Translated using Weblate (Turkish)
Currently translated at 100.0% (725 of 725 strings)
Translated using Weblate (Turkish)
Currently translated at 100.0% (725 of 725 strings)
Translated using Weblate (Portuguese)
Currently translated at 100.0% (76 of 76 strings)
Translated using Weblate (Russian)
Currently translated at 100.0% (76 of 76 strings)
Translated using Weblate (Vietnamese)
Currently translated at 94.6% (686 of 725 strings)
Translated using Weblate (Portuguese)
Currently translated at 100.0% (76 of 76 strings)
Translated using Weblate (Chinese (Traditional, Hong Kong))
Currently translated at 21.0% (16 of 76 strings)
Translated using Weblate (Chinese (Traditional, Hong Kong))
Currently translated at 100.0% (725 of 725 strings)
Translated using Weblate (French)
Currently translated at 98.2% (712 of 725 strings)
Deleted translation using Weblate (English (Middle))
Co-authored-by: /dev/urandom <dev.urandom@posteo.org>
Co-authored-by: A <ogloppi@mailbox.org>
Co-authored-by: Agnieszka C <aga_04@o2.pl>
Co-authored-by: Aitor Salaberria <trslbrr@gmail.com>
Co-authored-by: Alexthegib <traducoes@skiff.com>
Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
Co-authored-by: Ans Virlis <tddakk@yahoo.com>
Co-authored-by: AudricV <AudricV@users.noreply.hosted.weblate.org>
Co-authored-by: ButterflyOfFire <boffire@users.noreply.hosted.weblate.org>
Co-authored-by: Cem TÜRKER <cemburbut@gmail.com>
Co-authored-by: Danr <mdp43140@gmail.com>
Co-authored-by: David Svane <davidcygnus@users.noreply.hosted.weblate.org>
Co-authored-by: Edward <edwardchirita@mailbox.org>
Co-authored-by: Erik Matson <erik@nextleveltranslation.com>
Co-authored-by: Fjuro <ifjuro@proton.me>
Co-authored-by: Giorgi Taba K'obakhidze <t@gtk.ge>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Ihfandi <ihfandicahyo@gmail.com>
Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Co-authored-by: Jener Gomes <jenerg1@gmail.com>
Co-authored-by: Kristoffer Grundström <swedishsailfishosuser@tutanota.com>
Co-authored-by: LiftedStarfish <liftedstarfish@protonmail.com>
Co-authored-by: NEXI <nexiphotographer@gmail.com>
Co-authored-by: Napstaguy04 <brokenscreen3@gmail.com>
Co-authored-by: Nista <42772160+Nista11@users.noreply.github.com>
Co-authored-by: P.O <rasmusson.mikael@protonmail.com>
Co-authored-by: PiryusQ <piryusq@gmail.com>
Co-authored-by: Ray <ray@users.noreply.hosted.weblate.org>
Co-authored-by: Rex_sa <rex.sa@pm.me>
Co-authored-by: ShareASmile <aapshergill@gmail.com>
Co-authored-by: Software In Interlingua <softinterlingua@gmail.com>
Co-authored-by: Stypox <stypox@pm.me>
Co-authored-by: TXRdev Archive <lckphanaf9999@gmail.com>
Co-authored-by: Tmpod <tom@tmpod.dev>
Co-authored-by: TobiGr <TobiGr@users.noreply.github.com>
Co-authored-by: Translator <kvb@tuta.io>
Co-authored-by: VfBFan <VfBFan@users.noreply.hosted.weblate.org>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: bittin1ddc447d824349b2 <bittin@reimu.nl>
Co-authored-by: ferarilalon <ferarilalongpt@gmail.com>
Co-authored-by: fsbat0 <fsbat@duck.com>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: ngocanhtve <ngocanh.tve@gmail.com>
Co-authored-by: notlin4 <iamnotlin4@gmail.com>
Co-authored-by: searinminecraft <114207889+searinminecraft@users.noreply.github.com>
Co-authored-by: sum1tookshoe <gamingwithshoe@gmail.com>
Co-authored-by: trunars <trunars@gmail.com>
Co-authored-by: İbrahim Dinç <woltytherespectful@gmail.com>
Co-authored-by: Макар Разин <makarrazin14@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/ar/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/cs/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/de/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/eo/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/es/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/hi/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/id/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/it/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/pa/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/pl/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/pt/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/ru/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/sr/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/sv/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/tr/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/uk/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/vi/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/zh_Hant_HK/
Translation: NewPipe/Metadata
Disable loading all tabs at once, since there can be many of them, and use default strategy of only keeping in memory the two tabs adjacent to the current tab.
Reduced memory footprint of FeedUpdateInfo objects. Those objects might stay around for a while and accumulate (up to BUFFER_COUNT_BEFORE_INSERT = 20 at the moment), so in order not to fill up the memory it's better to keep as little data as possible.
Previously ChannelInfo data was stored, causing ReadyChannelTabLinkHandler objects to be also stored uselessly (and those channel tabs contain prefetched JSON data which used ~700KB of memory).
The fix just involves removing some really outdated code (6 years ago) added in 33e29be7db (diff-38bd2cf1b92659b499c08e1cf6ac9ef384c7e13381b906f2f98c57cbb758756dR778) (blame: 9318bb5306/app/src/main/java/org/schabi/newpipe/detail/VideoItemDetailActivity.java (L778)).
What that code did was setting the 'buddy' image to the uploader avatar as a placeholder, and then setting the actual image if it existed and after it had loaded.
That code remained there up until now, but now it doesn't make sense anymore, since Picasso already takes care of setting placeholders.
The problem is, starting from #10066 the actual uploader image is set before (not after) those lines of code, making them do the wrong thing, i.e. always overwrite the currently set image.
But then why did the channel avatar image work normally sometimes?
My guess is that since Picasso loads images in the background, when opening a video from scratch setting the placeholder still happened before Picasso finished loading the image.
However when the image is already cached it's loaded much faster and therefore setting the placeholder happens after, effectively hiding the loaded image.
Currently translated at 78.7% (571 of 725 strings)
Translated using Weblate (Basque)
Currently translated at 95.0% (689 of 725 strings)
Translated using Weblate (Turkish)
Currently translated at 43.4% (33 of 76 strings)
Translated using Weblate (Lithuanian)
Currently translated at 92.9% (674 of 725 strings)
Translated using Weblate (Portuguese (Brazil))
Currently translated at 30.2% (23 of 76 strings)
Translated using Weblate (Swedish)
Currently translated at 100.0% (725 of 725 strings)
Translated using Weblate (Swedish)
Currently translated at 100.0% (725 of 725 strings)
Translated using Weblate (Portuguese (Brazil))
Currently translated at 99.8% (724 of 725 strings)
Translated using Weblate (Interlingua)
Currently translated at 32.0% (232 of 725 strings)
Translated using Weblate (Norwegian Bokmål)
Currently translated at 94.6% (686 of 725 strings)
Translated using Weblate (Norwegian Bokmål)
Currently translated at 94.6% (686 of 725 strings)
Translated using Weblate (Romanian)
Currently translated at 89.3% (648 of 725 strings)
Translated using Weblate (German)
Currently translated at 81.5% (62 of 76 strings)
Translated using Weblate (German)
Currently translated at 100.0% (725 of 725 strings)
Translated using Weblate (Filipino)
Currently translated at 32.1% (233 of 725 strings)
Translated using Weblate (Filipino)
Currently translated at 32.1% (233 of 725 strings)
Translated using Weblate (Vietnamese)
Currently translated at 100.0% (725 of 725 strings)
Translated using Weblate (Swedish)
Currently translated at 72.3% (55 of 76 strings)
Translated using Weblate (Esperanto)
Currently translated at 3.9% (3 of 76 strings)
Translated using Weblate (Swedish)
Currently translated at 99.7% (723 of 725 strings)
Translated using Weblate (Esperanto)
Currently translated at 71.0% (515 of 725 strings)
Translated using Weblate (Esperanto)
Currently translated at 2.6% (2 of 76 strings)
Translated using Weblate (Tigrinya)
Currently translated at 8.4% (61 of 725 strings)
Translated using Weblate (Vietnamese)
Currently translated at 43.4% (33 of 76 strings)
Translated using Weblate (German)
Currently translated at 81.5% (62 of 76 strings)
Translated using Weblate (Finnish)
Currently translated at 98.3% (713 of 725 strings)
Translated using Weblate (Vietnamese)
Currently translated at 100.0% (725 of 725 strings)
Translated using Weblate (Esperanto)
Currently translated at 70.0% (508 of 725 strings)
Added translation using Weblate (English (Old))
Added translation using Weblate (Aymara)
Added translation using Weblate (English (Middle))
Added translation using Weblate (Arabic (Najdi))
Added translation using Weblate (German (Low))
Added translation using Weblate (Sicilian)
Added translation using Weblate (Kashmiri)
Added translation using Weblate (Burmese)
Translated using Weblate (Tigrinya)
Currently translated at 3.5% (26 of 725 strings)
Translated using Weblate (Georgian)
Currently translated at 91.1% (661 of 725 strings)
Translated using Weblate (French)
Currently translated at 98.8% (717 of 725 strings)
Translated using Weblate (Vietnamese)
Currently translated at 42.1% (32 of 76 strings)
Translated using Weblate (Vietnamese)
Currently translated at 100.0% (725 of 725 strings)
Translated using Weblate (Interlingua)
Currently translated at 31.3% (227 of 725 strings)
Translated using Weblate (Vietnamese)
Currently translated at 35.5% (27 of 76 strings)
Translated using Weblate (Esperanto)
Currently translated at 69.2% (502 of 725 strings)
Translated using Weblate (Esperanto)
Currently translated at 69.2% (502 of 725 strings)
Translated using Weblate (German)
Currently translated at 81.5% (62 of 76 strings)
Translated using Weblate (Punjabi)
Currently translated at 100.0% (725 of 725 strings)
Translated using Weblate (Bulgarian)
Currently translated at 63.8% (463 of 725 strings)
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (725 of 725 strings)
Translated using Weblate (Esperanto)
Currently translated at 66.3% (481 of 725 strings)
Translated using Weblate (French)
Currently translated at 98.6% (715 of 725 strings)
Translated using Weblate (Vietnamese)
Currently translated at 100.0% (725 of 725 strings)
Translated using Weblate (Turkish)
Currently translated at 31.5% (24 of 76 strings)
Translated using Weblate (Vietnamese)
Currently translated at 97.3% (706 of 725 strings)
Translated using Weblate (Swedish)
Currently translated at 98.4% (714 of 725 strings)
Translated using Weblate (Turkish)
Currently translated at 100.0% (725 of 725 strings)
Translated using Weblate (Turkish)
Currently translated at 100.0% (725 of 725 strings)
Translated using Weblate (Portuguese)
Currently translated at 100.0% (76 of 76 strings)
Translated using Weblate (Russian)
Currently translated at 100.0% (76 of 76 strings)
Translated using Weblate (Vietnamese)
Currently translated at 94.6% (686 of 725 strings)
Translated using Weblate (Portuguese)
Currently translated at 100.0% (76 of 76 strings)
Translated using Weblate (Chinese (Traditional, Hong Kong))
Currently translated at 21.0% (16 of 76 strings)
Translated using Weblate (Chinese (Traditional, Hong Kong))
Currently translated at 100.0% (725 of 725 strings)
Translated using Weblate (French)
Currently translated at 98.2% (712 of 725 strings)
Deleted translation using Weblate (English (Middle))
Co-authored-by: /dev/urandom <dev.urandom@posteo.org>
Co-authored-by: A <ogloppi@mailbox.org>
Co-authored-by: Aitor Salaberria <trslbrr@gmail.com>
Co-authored-by: Alexthegib <traducoes@skiff.com>
Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
Co-authored-by: Ans Virlis <tddakk@yahoo.com>
Co-authored-by: AudricV <AudricV@users.noreply.hosted.weblate.org>
Co-authored-by: Cem TÜRKER <cemburbut@gmail.com>
Co-authored-by: Edward <edwardchirita@mailbox.org>
Co-authored-by: Erik Matson <erik@nextleveltranslation.com>
Co-authored-by: Giorgi Taba K'obakhidze <t@gtk.ge>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Jener Gomes <jenerg1@gmail.com>
Co-authored-by: Kristoffer Grundström <swedishsailfishosuser@tutanota.com>
Co-authored-by: LiftedStarfish <liftedstarfish@protonmail.com>
Co-authored-by: Napstaguy04 <brokenscreen3@gmail.com>
Co-authored-by: P.O <rasmusson.mikael@protonmail.com>
Co-authored-by: PiryusQ <piryusq@gmail.com>
Co-authored-by: Ray <ray@users.noreply.hosted.weblate.org>
Co-authored-by: ShareASmile <aapshergill@gmail.com>
Co-authored-by: Software In Interlingua <softinterlingua@gmail.com>
Co-authored-by: TXRdev Archive <lckphanaf9999@gmail.com>
Co-authored-by: TobiGr <TobiGr@users.noreply.github.com>
Co-authored-by: Translator <kvb@tuta.io>
Co-authored-by: VfBFan <VfBFan@users.noreply.hosted.weblate.org>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: bittin1ddc447d824349b2 <bittin@reimu.nl>
Co-authored-by: ferarilalon <ferarilalongpt@gmail.com>
Co-authored-by: fsbat0 <fsbat@duck.com>
Co-authored-by: ngocanhtve <ngocanh.tve@gmail.com>
Co-authored-by: notlin4 <iamnotlin4@gmail.com>
Co-authored-by: sum1tookshoe <gamingwithshoe@gmail.com>
Co-authored-by: trunars <trunars@gmail.com>
Co-authored-by: İbrahim Dinç <woltytherespectful@gmail.com>
Co-authored-by: Макар Разин <makarrazin14@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/de/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/eo/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/pt/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/ru/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/sv/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/tr/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/vi/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/zh_Hant_HK/
Translation: NewPipe/Metadata