Fix a bug in which NewPipe doesn't fall back to Google Play Store web url in InstallApp
Fusion getDefaultBrowserPackageName and getDefaultAppPackageName, rename openInDefaultApp to openAppChooser
Update some JavaDocs
When it's expired it means, that the app should get the data. Meaning it should not abort prematurely by returning null.
Co-authored-by: Tobias Groza <TobiGr@users.noreply.github.com>
Fix crash when no browser is present and use an ACTION_CHOOSER intent for app update notification
Show a Toast when no app is present on user's device to open a content in an app and in a browser and use an ACTION_CHOOSER intent with the ACTION_VIEW intent put as an extra intent in the update notification.
Translated using Weblate (Kabyle)
Currently translated at 2.3% (1 of 43 strings)
Translation: NewPipe/Metadata
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/kab/
Translated using Weblate (Polish)
Currently translated at 99.5% (613 of 616 strings)
Translated using Weblate (German)
Currently translated at 99.8% (615 of 616 strings)
Translated using Weblate (Basque)
Currently translated at 100.0% (616 of 616 strings)
Translated using Weblate (Greek)
Currently translated at 100.0% (616 of 616 strings)
Translated using Weblate (Czech)
Currently translated at 100.0% (616 of 616 strings)
Translated using Weblate (Arabic)
Currently translated at 96.9% (597 of 616 strings)
Translated using Weblate (Indonesian)
Currently translated at 99.6% (614 of 616 strings)
Translated using Weblate (Polish)
Currently translated at 99.6% (614 of 616 strings)
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (616 of 616 strings)
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (616 of 616 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (616 of 616 strings)
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (616 of 616 strings)
Translated using Weblate (Hebrew)
Currently translated at 100.0% (616 of 616 strings)
Translated using Weblate (Croatian)
Currently translated at 100.0% (616 of 616 strings)
Translated using Weblate (Sardinian)
Currently translated at 99.0% (610 of 616 strings)
Translated using Weblate (Portuguese (Brazil))
Currently translated at 27.9% (12 of 43 strings)
Translation: NewPipe/Metadata
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/pt_BR/
Translated using Weblate (Basque)
Currently translated at 30.2% (13 of 43 strings)
Translation: NewPipe/Metadata
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/eu/
Translated using Weblate (Czech)
Currently translated at 6.9% (3 of 43 strings)
Translation: NewPipe/Metadata
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/cs/
Translated using Weblate (Hebrew)
Currently translated at 32.5% (14 of 43 strings)
Translation: NewPipe/Metadata
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/he/
Translated using Weblate (Polish)
Currently translated at 53.4% (23 of 43 strings)
Translation: NewPipe/Metadata
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/pl/
Translated using Weblate (Somali)
Currently translated at 100.0% (616 of 616 strings)
Translated using Weblate (Somali)
Currently translated at 100.0% (616 of 616 strings)
Translated using Weblate (German)
Currently translated at 100.0% (616 of 616 strings)
Translated using Weblate (French)
Currently translated at 100.0% (616 of 616 strings)
Translated using Weblate (Italian)
Currently translated at 100.0% (616 of 616 strings)
Translated using Weblate (Norwegian Bokmål)
Currently translated at 96.2% (593 of 616 strings)
Translated using Weblate (French)
Currently translated at 72.0% (31 of 43 strings)
Translation: NewPipe/Metadata
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/fr/
Translated using Weblate (Chinese (Traditional))
Currently translated at 81.3% (35 of 43 strings)
Translation: NewPipe/Metadata
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/zh_Hant/
Translated using Weblate (English (United Kingdom))
Currently translated at 6.6% (41 of 616 strings)
Translated using Weblate (Spanish)
Currently translated at 99.1% (611 of 616 strings)
Translated using Weblate (Greek)
Currently translated at 100.0% (616 of 616 strings)
Translated using Weblate (Arabic)
Currently translated at 97.8% (603 of 616 strings)
Translated using Weblate (Indonesian)
Currently translated at 100.0% (616 of 616 strings)
Translated using Weblate (Turkish)
Currently translated at 100.0% (616 of 616 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (616 of 616 strings)
Translated using Weblate (Finnish)
Currently translated at 99.5% (613 of 616 strings)
Translated using Weblate (Dutch (Belgium))
Currently translated at 100.0% (616 of 616 strings)
Translated using Weblate (Tamil)
Currently translated at 2.3% (1 of 43 strings)
Translation: NewPipe/Metadata
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/ta/
Translated using Weblate (Italian)
Currently translated at 46.5% (20 of 43 strings)
Translation: NewPipe/Metadata
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/it/
Translated using Weblate (Somali)
Currently translated at 100.0% (616 of 616 strings)
Translated using Weblate (Russian)
Currently translated at 100.0% (616 of 616 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 79.0% (34 of 43 strings)
Translation: NewPipe/Metadata
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/zh_Hans/
Translated using Weblate (Somali)
Currently translated at 100.0% (616 of 616 strings)
Translated using Weblate (Korean)
Currently translated at 85.3% (526 of 616 strings)
Translated using Weblate (Dutch)
Currently translated at 100.0% (616 of 616 strings)
Translated using Weblate (Serbian)
Currently translated at 40.9% (252 of 616 strings)
Translated using Weblate (Italian)
Currently translated at 100.0% (616 of 616 strings)
Translated using Weblate (Portuguese)
Currently translated at 100.0% (616 of 616 strings)
Translated using Weblate (Romanian)
Currently translated at 74.3% (458 of 616 strings)
Translated using Weblate (Arabic)
Currently translated at 100.0% (616 of 616 strings)
Translated using Weblate (Catalan)
Currently translated at 100.0% (616 of 616 strings)
Translated using Weblate (Portuguese (Portugal))
Currently translated at 100.0% (616 of 616 strings)
Translated using Weblate (German)
Currently translated at 48.8% (21 of 43 strings)
Translation: NewPipe/Metadata
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/de/
Translated using Weblate (Catalan)
Currently translated at 4.6% (2 of 43 strings)
Translation: NewPipe/Metadata
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/ca/
Translated using Weblate (Arabic)
Currently translated at 67.4% (29 of 43 strings)
Translation: NewPipe/Metadata
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/ar/
Translated using Weblate (Indonesian)
Currently translated at 13.9% (6 of 43 strings)
Translation: NewPipe/Metadata
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/id/
Translated using Weblate (Chinese (Simplified))
Currently translated at 86.0% (37 of 43 strings)
Translation: NewPipe/Metadata
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/zh_Hans/
Translated using Weblate (Somali)
Currently translated at 100.0% (616 of 616 strings)
Translated using Weblate (Somali)
Currently translated at 100.0% (616 of 616 strings)
Translated using Weblate (Slovak)
Currently translated at 100.0% (616 of 616 strings)
Translated using Weblate (Croatian)
Currently translated at 100.0% (616 of 616 strings)
Translated using Weblate (Finnish)
Currently translated at 99.6% (614 of 616 strings)
Translated using Weblate (Norwegian Bokmål)
Currently translated at 96.4% (594 of 616 strings)
Translated using Weblate (German)
Currently translated at 46.5% (20 of 43 strings)
Translation: NewPipe/Metadata
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/de/
Translated using Weblate (Turkish)
Currently translated at 27.9% (12 of 43 strings)
Translation: NewPipe/Metadata
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/tr/
Translated using Weblate (Norwegian Bokmål)
Currently translated at 18.6% (8 of 43 strings)
Translation: NewPipe/Metadata
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/nb_NO/
Translated using Weblate (Santali)
Currently translated at 12.3% (76 of 616 strings)
Translated using Weblate (Somali)
Currently translated at 100.0% (616 of 616 strings)
Translated using Weblate (Kurdish (Central))
Currently translated at 95.9% (591 of 616 strings)
Translated using Weblate (Bengali)
Currently translated at 78.5% (484 of 616 strings)
Translated using Weblate (German)
Currently translated at 51.1% (22 of 43 strings)
Translation: NewPipe/Metadata
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/de/
Translated using Weblate (German)
Currently translated at 51.1% (22 of 43 strings)
Translation: NewPipe/Metadata
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/de/
Translated using Weblate (Greek)
Currently translated at 32.5% (14 of 43 strings)
Translation: NewPipe/Metadata
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/el/
Translated using Weblate (Somali)
Currently translated at 100.0% (616 of 616 strings)
Translated using Weblate (Estonian)
Currently translated at 68.9% (425 of 616 strings)
Translated using Weblate (Kabyle)
Currently translated at 30.0% (185 of 616 strings)
Translated using Weblate (Estonian)
Currently translated at 4.6% (2 of 43 strings)
Translation: NewPipe/Metadata
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/et/
Translated using Weblate (Somali)
Currently translated at 100.0% (616 of 616 strings)
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.
Improve NewPipe's share on some devices + fix crash when no browser is set on some devices
Catching ActivityNotFoundException when trying to open the default browser
Use an ACTION_CHOOSER intent and put as an extra intent the intent to
open an URI / share an URI when no default app is set.
Add a LinkHelper class which set a custom action when clicking web links
in the description of a content. This class also helps to implement a confirmation dialog when trying to open web links in an external app.
Changed the Somali language name from Af-Soomaali to Soomaali which is common and more user friendly when users are looking for Somali language in the list (since they aren't expecting it starts with A as in Af-Soomaali).
I contributed the language to the project on Weblate and I think this is name is better.
Problem is global state in static variable prettyTime. But for performance reasons on Android that is preferred.
Now allow injecting prettyTime dependency by making init function public.