PR 7061 reverted by mistake PR 6824 (it was a rebase issue). This commit unreverts this change and uses custom TextViews correctly in the file changed by PR 6824.
The backup-list has to be created at all cost (even when current list size <= 2). Otherwise it's not possible to enter shuffle-mode (as ``isShuffled()`` always returns false)!
A new class has been added in the util package: NewPipeTextViewHelper.
It shares the selected text of a TextView with ShareUtils#shareText (with the created shareSelectedTextWithShareUtils static method).
Only this static method can be used by other classes, other methods are private.
This EditText class extends the AppCompatEditText class from androidx.
These changes (only in XML ressources) allow us to share the selected text by using ShareUtils.shareText, which opens the Android system chooser instead of the Huawei system chooser on EMUI devices.
This TextView class extends the AppCompatTextView class from androidx.
These changes (only in XML ressources) allow us to share the selected text by using ShareUtils.shareText, which opens the Android system chooser instead of the Huawei system chooser on EMUI devices.
When the service is started from the Application class, the app might be still in the background. This is definetly not the case when MainActivity.onCreate() is called.
Fixes#7227
Currently translated at 98.8% (614 of 621 strings)
Translated using Weblate (Persian)
Currently translated at 17.2% (10 of 58 strings)
Translated using Weblate (Spanish)
Currently translated at 100.0% (621 of 621 strings)
Translated using Weblate (Russian)
Currently translated at 100.0% (621 of 621 strings)
Translated using Weblate (Ukrainian)
Currently translated at 79.3% (46 of 58 strings)
Translated using Weblate (Russian)
Currently translated at 100.0% (621 of 621 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (58 of 58 strings)
Translated using Weblate (Polish)
Currently translated at 53.4% (31 of 58 strings)
Translated using Weblate (Hebrew)
Currently translated at 48.2% (28 of 58 strings)
Translated using Weblate (Romanian)
Currently translated at 100.0% (621 of 621 strings)
Co-authored-by: Agnieszka C <aga_04@o2.pl>
Co-authored-by: Danial Behzadi <dani.behzi@ubuntu.com>
Co-authored-by: Edward <edwardchirita@mailbox.org>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Igor Nedoboy <i.nedoboy@mail.ru>
Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Co-authored-by: MS-PC <MSPCtranslator@gmail.com>
Co-authored-by: Yaron Shahrabani <sh.yaron@gmail.com>
Co-authored-by: chr56 <chr0056@gmail.com>
Co-authored-by: zmni <zmni@outlook.com>
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/fa/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/he/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/pl/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/uk/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/zh_Hans/
Translation: NewPipe/Metadata
Currently translated at 100.0% (621 of 621 strings)
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (621 of 621 strings)
Translated using Weblate (Dutch)
Currently translated at 100.0% (621 of 621 strings)
Translated using Weblate (French)
Currently translated at 100.0% (621 of 621 strings)
Translated using Weblate (Portuguese)
Currently translated at 100.0% (621 of 621 strings)
Translated using Weblate (Polish)
Currently translated at 100.0% (621 of 621 strings)
Translated using Weblate (Korean)
Currently translated at 73.7% (458 of 621 strings)
Translated using Weblate (French)
Currently translated at 66.6% (38 of 57 strings)
Translated using Weblate (Ukrainian)
Currently translated at 78.9% (45 of 57 strings)
Translated using Weblate (Czech)
Currently translated at 100.0% (621 of 621 strings)
Translated using Weblate (French)
Currently translated at 99.8% (620 of 621 strings)
Translated using Weblate (Ukrainian)
Currently translated at 78.9% (45 of 57 strings)
Translated using Weblate (Vietnamese)
Currently translated at 99.8% (620 of 621 strings)
Translated using Weblate (Hungarian)
Currently translated at 0.0% (0 of 57 strings)
Translated using Weblate (Estonian)
Currently translated at 100.0% (621 of 621 strings)
Translated using Weblate (Croatian)
Currently translated at 97.7% (607 of 621 strings)
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (621 of 621 strings)
Translated using Weblate (Turkish)
Currently translated at 100.0% (621 of 621 strings)
Translated using Weblate (Arabic)
Currently translated at 100.0% (621 of 621 strings)
Translated using Weblate (Romanian)
Currently translated at 100.0% (621 of 621 strings)
Translated using Weblate (German)
Currently translated at 100.0% (621 of 621 strings)
Translated using Weblate (Sardinian)
Currently translated at 100.0% (621 of 621 strings)
Translated using Weblate (Turkish)
Currently translated at 99.6% (619 of 621 strings)
Translated using Weblate (Arabic)
Currently translated at 100.0% (621 of 621 strings)
Translated using Weblate (Basque)
Currently translated at 100.0% (621 of 621 strings)
Translated using Weblate (Spanish)
Currently translated at 100.0% (621 of 621 strings)
Translated using Weblate (Russian)
Currently translated at 100.0% (621 of 621 strings)
Co-authored-by: Agnieszka C <aga_04@o2.pl>
Co-authored-by: Ajeje Brazorf <lmelonimamo@yahoo.it>
Co-authored-by: Andrij Mizyk <andmizyk@gmail.com>
Co-authored-by: Boros Zsombor <zsombor2626@gmail.com>
Co-authored-by: ButterflyOfFire <ButterflyOfFire@protonmail.com>
Co-authored-by: Eduardo Caron <eduardocaron10@gmail.com>
Co-authored-by: Edward <edwardchirita@mailbox.org>
Co-authored-by: Emin Tufan Çetin <etcetin@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Igor Nedoboy <i.nedoboy@mail.ru>
Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Co-authored-by: Jeff Huang <s8321414@gmail.com>
Co-authored-by: Krysa Czech <krysaczek@gmail.com>
Co-authored-by: Ldm Public <ldmpub@gmail.com>
Co-authored-by: Milo Ivir <mail@milotype.de>
Co-authored-by: Priit Jõerüüt <hwlate@joeruut.com>
Co-authored-by: Rex_sa <rex.sa@pm.me>
Co-authored-by: San Kang <devrivmt@gmail.com>
Co-authored-by: Sergio Varela <sergitroll9@gmail.com>
Co-authored-by: Sérgio Marques <smarquespt@gmail.com>
Co-authored-by: Terry Louwers <t.louwers@gmail.com>
Co-authored-by: ToldYouThat <itoldyouthat@protonmail.com>
Co-authored-by: bruh <quangtrung02hn16@gmail.com>
Co-authored-by: nautilusx <translate@disroot.org>
Co-authored-by: nzgha <nzghafoss.ldxwe@slmail.me>
Co-authored-by: translator <yasinoc375@advew.com>
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/fr/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/hu/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/uk/
Translation: NewPipe/Metadata