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