VERY experimental Nintendo Switch 2 emulator
C++
android: Remove foreground service
t89554d8e5e643f7
diff --git a/src/android/app/src/main/AndroidManifest.xml b/src/android/app/src/main/AndroidManifest.xmlindex f011bd6961..7890b30ca8 100644--- a/src/android/app/src/main/AndroidManifest.xml+++ b/src/android/app/src/main/AndroidManifest.xml@@ -12,8 +12,6 @@ SPDX-License-Identifier: GPL-3.0-or-later<uses-feature android:name="android.hardware.vulkan.version" android:version="0x401000" android:required="true" /><uses-permission android:name="android.permission.INTERNET" />- <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />- <uses-permission android:name="android.permission.FOREGROUND_SERVICE_SPECIAL_USE" /><uses-permission android:name="android.permission.NFC" /><uses-permission android:name="android.permission.POST_NOTIFICATIONS" />@@ -80,10 +78,6 @@ SPDX-License-Identifier: GPL-3.0-or-laterandroid:resource="@xml/nfc_tech_filter" /></activity>- <service android:name="org.yuzu.yuzu_emu.utils.ForegroundService" android:foregroundServiceType="specialUse">- <property android:name="android.app.PROPERTY_SPECIAL_USE_FGS_SUBTYPE" android:value="Keep emulation running in background"/>- </service>-<providerandroid:name=".features.DocumentProvider"android:authorities="${applicationId}.user"diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/YuzuApplication.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/YuzuApplication.ktindex d114bd53d7..76778c10a9 100644--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/YuzuApplication.kt+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/YuzuApplication.kt@@ -17,17 +17,6 @@ fun Context.getPublicFilesDir(): File = getExternalFilesDir(null) ?: filesDirclass YuzuApplication : Application() {private fun createNotificationChannels() {- val emulationChannel = NotificationChannel(- getString(R.string.emulation_notification_channel_id),- getString(R.string.emulation_notification_channel_name),- NotificationManager.IMPORTANCE_LOW- )- emulationChannel.description = getString(- R.string.emulation_notification_channel_description- )- emulationChannel.setSound(null, null)- emulationChannel.vibrationPattern = null-val noticeChannel = NotificationChannel(getString(R.string.notice_notification_channel_id),getString(R.string.notice_notification_channel_name),@@ -39,7 +28,6 @@ class YuzuApplication : Application() {// Register the channel with the system; you can't change the importance// or other notification behaviors after thisval notificationManager = getSystemService(NotificationManager::class.java)- notificationManager.createNotificationChannel(emulationChannel)notificationManager.createNotificationChannel(noticeChannel)}diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/activities/EmulationActivity.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/activities/EmulationActivity.ktindex 564aaf305d..7a8d03610c 100644--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/activities/EmulationActivity.kt+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/activities/EmulationActivity.kt@@ -4,7 +4,6 @@package org.yuzu.yuzu_emu.activitiesimport android.annotation.SuppressLint-import android.app.Activityimport android.app.PendingIntentimport android.app.PictureInPictureParamsimport android.app.RemoteAction@@ -45,7 +44,6 @@ import org.yuzu.yuzu_emu.features.settings.model.IntSettingimport org.yuzu.yuzu_emu.features.settings.model.Settingsimport org.yuzu.yuzu_emu.model.EmulationViewModelimport org.yuzu.yuzu_emu.model.Game-import org.yuzu.yuzu_emu.utils.ForegroundServiceimport org.yuzu.yuzu_emu.utils.InputHandlerimport org.yuzu.yuzu_emu.utils.Logimport org.yuzu.yuzu_emu.utils.MemoryUtil@@ -74,11 +72,6 @@ class EmulationActivity : AppCompatActivity(), SensorEventListener {private val emulationViewModel: EmulationViewModel by viewModels()- override fun onDestroy() {- stopForegroundService(this)- super.onDestroy()- }-override fun onCreate(savedInstanceState: Bundle?) {Log.gameLaunched = trueThemeHelper.setTheme(this)@@ -125,10 +118,6 @@ class EmulationActivity : AppCompatActivity(), SensorEventListener {.apply()}}-- // Start a foreground service to prevent the app from getting killed in the background- val startIntent = Intent(this, ForegroundService::class.java)- startForegroundService(startIntent)}override fun onKeyDown(keyCode: Int, event: KeyEvent): Boolean {@@ -481,12 +470,6 @@ class EmulationActivity : AppCompatActivity(), SensorEventListener {activity.startActivity(launcher)}- fun stopForegroundService(activity: Activity) {- val startIntent = Intent(activity, ForegroundService::class.java)- startIntent.action = ForegroundService.ACTION_STOP- activity.startForegroundService(startIntent)- }-private fun areCoordinatesOutside(view: View?, x: Float, y: Float): Boolean {if (view == null) {return truediff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/main/MainActivity.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/main/MainActivity.ktindex b3967d294b..4df4ac4c65 100644--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/main/MainActivity.kt+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/main/MainActivity.kt@@ -34,7 +34,6 @@ import kotlinx.coroutines.launchimport org.yuzu.yuzu_emu.HomeNavigationDirectionsimport org.yuzu.yuzu_emu.NativeLibraryimport org.yuzu.yuzu_emu.R-import org.yuzu.yuzu_emu.activities.EmulationActivityimport org.yuzu.yuzu_emu.databinding.ActivityMainBindingimport org.yuzu.yuzu_emu.features.settings.model.Settingsimport org.yuzu.yuzu_emu.fragments.AddGameFolderDialogFragment@@ -177,9 +176,6 @@ class MainActivity : AppCompatActivity(), ThemeProvider {}}- // Dismiss previous notifications (should not happen unless a crash occurred)- EmulationActivity.stopForegroundService(this)-setInsets()}@@ -298,11 +294,6 @@ class MainActivity : AppCompatActivity(), ThemeProvider {super.onResume()}- override fun onDestroy() {- EmulationActivity.stopForegroundService(this)- super.onDestroy()- }-private fun setInsets() =ViewCompat.setOnApplyWindowInsetsListener(binding.rootdiff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/ForegroundService.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/ForegroundService.ktdeleted file mode 100644index 086d176065..0000000000--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/ForegroundService.kt+++ /dev/null@@ -1,70 +0,0 @@-// SPDX-FileCopyrightText: 2023 yuzu Emulator Project-// SPDX-License-Identifier: GPL-2.0-or-later--package org.yuzu.yuzu_emu.utils--import android.app.PendingIntent-import android.app.Service-import android.content.Intent-import android.os.IBinder-import androidx.core.app.NotificationCompat-import androidx.core.app.NotificationManagerCompat-import org.yuzu.yuzu_emu.R-import org.yuzu.yuzu_emu.activities.EmulationActivity--/**- * A service that shows a permanent notification in the background to avoid the app getting- * cleared from memory by the system.- */-class ForegroundService : Service() {- companion object {- const val EMULATION_RUNNING_NOTIFICATION = 0x1000-- const val ACTION_STOP = "stop"- }-- private fun showRunningNotification() {- // Intent is used to resume emulation if the notification is clicked- val contentIntent = PendingIntent.getActivity(- this,- 0,- Intent(this, EmulationActivity::class.java),- PendingIntent.FLAG_IMMUTABLE- )- val builder =- NotificationCompat.Builder(this, getString(R.string.emulation_notification_channel_id))- .setSmallIcon(R.drawable.ic_stat_notification_logo)- .setContentTitle(getString(R.string.app_name))- .setContentText(getString(R.string.emulation_notification_running))- .setPriority(NotificationCompat.PRIORITY_LOW)- .setOngoing(true)- .setVibrate(null)- .setSound(null)- .setContentIntent(contentIntent)- startForeground(EMULATION_RUNNING_NOTIFICATION, builder.build())- }-- override fun onBind(intent: Intent): IBinder? {- return null- }-- override fun onCreate() {- showRunningNotification()- }-- override fun onStartCommand(intent: Intent?, flags: Int, startId: Int): Int {- if (intent == null) {- return START_NOT_STICKY- }- if (intent.action == ACTION_STOP) {- NotificationManagerCompat.from(this).cancel(EMULATION_RUNNING_NOTIFICATION)- stopForeground(STOP_FOREGROUND_REMOVE)- stopSelfResult(startId)- }- return START_STICKY- }-- override fun onDestroy() {- NotificationManagerCompat.from(this).cancel(EMULATION_RUNNING_NOTIFICATION)- }-}diff --git a/src/android/app/src/main/res/values-ar/strings.xml b/src/android/app/src/main/res/values-ar/strings.xmlindex 53678f465f..41d7418470 100644--- a/src/android/app/src/main/res/values-ar/strings.xml+++ b/src/android/app/src/main/res/values-ar/strings.xml@@ -1,9 +1,6 @@<?xml version="1.0" encoding="utf-8"?><resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="MissingTranslation">- <string name="emulation_notification_channel_name">المحاكي نشط</string>- <string name="emulation_notification_channel_description">اظهار اشعار دائم عندما يكون المحاكي نشطاً</string>- <string name="emulation_notification_running">يوزو قيد التشغيل</string><string name="notice_notification_channel_name">الإشعارات والأخطاء</string><string name="notice_notification_channel_description">اظهار اشعار عند حصول اي مشكلة.</string><string name="notification_permission_not_granted">لم يتم منح إذن الإشعار</string>diff --git a/src/android/app/src/main/res/values-ckb/strings.xml b/src/android/app/src/main/res/values-ckb/strings.xmlindex 7e1eb2b8d6..827339505e 100644--- a/src/android/app/src/main/res/values-ckb/strings.xml+++ b/src/android/app/src/main/res/values-ckb/strings.xml@@ -2,9 +2,6 @@<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="MissingTranslation"><string name="app_disclaimer">ئەم نەرمەکاڵایە یارییەکانی کۆنسۆلی نینتێندۆ سویچ کارپێدەکات. هیچ ناونیشانێکی یاری و کلیلی تێدا نییە..<br /><br />پێش ئەوەی دەست پێ بکەیت، تکایە شوێنی فایلی <![CDATA[<b> prod.keys </b>]]> دیاریبکە لە نێو کۆگای ئامێرەکەت.<br /><br /><![CDATA[<a href=\"https://yuzu-emu.org/help/quickstart\">زیاتر فێربە</a>]]></string>- <string name="emulation_notification_channel_name">ئیمولەیشن کارایە</string>- <string name="emulation_notification_channel_description">ئاگادارکردنەوەیەکی بەردەوام نیشان دەدات کاتێک ئیمولەیشن کاردەکات.</string>- <string name="emulation_notification_running">یوزو کاردەکات</string><string name="notice_notification_channel_name">ئاگاداری و هەڵەکان</string><string name="notice_notification_channel_description">ئاگادارکردنەوەکان پیشان دەدات کاتێک شتێک بە هەڵەدا دەچێت.</string><string name="notification_permission_not_granted">مۆڵەتی ئاگادارکردنەوە نەدراوە!</string>diff --git a/src/android/app/src/main/res/values-cs/strings.xml b/src/android/app/src/main/res/values-cs/strings.xmlindex b9a4a11e42..8f8e2848d1 100644--- a/src/android/app/src/main/res/values-cs/strings.xml+++ b/src/android/app/src/main/res/values-cs/strings.xml@@ -1,7 +1,6 @@<?xml version="1.0" encoding="utf-8"?><resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="MissingTranslation">- <string name="emulation_notification_channel_name">Emulace je aktivní</string><string name="notice_notification_channel_name">Upozornění a chyby</string><string name="notice_notification_channel_description">Ukáže oznámení v případě chyby.</string><string name="notification_permission_not_granted">Oznámení nejsou oprávněna!</string>diff --git a/src/android/app/src/main/res/values-de/strings.xml b/src/android/app/src/main/res/values-de/strings.xmlindex 483ea8c88e..fb25b3c935 100644--- a/src/android/app/src/main/res/values-de/strings.xml+++ b/src/android/app/src/main/res/values-de/strings.xml@@ -2,9 +2,6 @@<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="MissingTranslation"><string name="app_disclaimer">Diese Software kann Spiele für die Nintendo Switch abspielen. Keine Spiele oder Spielekeys sind enthalten.<br /><br />Bevor du beginnst, bitte halte deine <![CDATA[<b> prod.keys </b>]]> auf deinem Gerät bereit. .<br /><br /><![CDATA[<a href=\"https://yuzu-emu.org/help/quickstart\">Mehr Infos</a>]]></string>- <string name="emulation_notification_channel_name">Emulation ist aktiv</string>- <string name="emulation_notification_channel_description">Zeigt eine dauerhafte Benachrichtigung an, wenn die Emulation läuft.</string>- <string name="emulation_notification_running">yuzu läuft</string><string name="notice_notification_channel_name">Hinweise und Fehler</string><string name="notice_notification_channel_description">Zeigt Benachrichtigungen an, wenn etwas schief läuft.</string><string name="notification_permission_not_granted">Berechtigung für Benachrichtigungen nicht erlaubt!</string>diff --git a/src/android/app/src/main/res/values-es/strings.xml b/src/android/app/src/main/res/values-es/strings.xmlindex c3825710bc..7ecbeaba4e 100644--- a/src/android/app/src/main/res/values-es/strings.xml+++ b/src/android/app/src/main/res/values-es/strings.xml@@ -2,9 +2,6 @@<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="MissingTranslation"><string name="app_disclaimer">Este software ejecuta juegos para la videoconsola Nintendo Switch. Los videojuegos o claves no vienen incluidos.<br /><br />Antes de empezar, por favor, localice el archivo <![CDATA[<b> prod.keys </b>]]>en el almacenamiento de su dispositivo..<br /><br /><![CDATA[<a href=\"https://yuzu-emu.org/help/quickstart\">Saber más</a>]]></string>- <string name="emulation_notification_channel_name">Emulación activa</string>- <string name="emulation_notification_channel_description">Muestra una notificación persistente cuando la emulación está activa.</string>- <string name="emulation_notification_running">yuzu está ejecutándose</string><string name="notice_notification_channel_name">Avisos y errores</string><string name="notice_notification_channel_description">Mostrar notificaciones cuándo algo vaya mal.</string><string name="notification_permission_not_granted">¡Permisos de notificación no concedidos!</string>diff --git a/src/android/app/src/main/res/values-fr/strings.xml b/src/android/app/src/main/res/values-fr/strings.xmlindex 667fe33cb7..a848b91632 100644--- a/src/android/app/src/main/res/values-fr/strings.xml+++ b/src/android/app/src/main/res/values-fr/strings.xml@@ -2,9 +2,6 @@<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="MissingTranslation"><string name="app_disclaimer">Ce logiciel exécutera des jeux pour la console de jeu Nintendo Switch. Aucun jeux ou clés n\'est inclus.<br /><br />Avant de commencer, veuillez localiser votre fichier <![CDATA[<b> prod.keys </b>]]> sur le stockage de votre appareil.<br /><br /><![CDATA[<a href=\"https://yuzu-emu.org/help/quickstart\">En savoir plus</a>]]></string>- <string name="emulation_notification_channel_name">L\'émulation est active</string>- <string name="emulation_notification_channel_description">Affiche une notification persistante lorsque l\'émulation est en cours d\'exécution.</string>- <string name="emulation_notification_running">yuzu est en cours d\'exécution</string><string name="notice_notification_channel_name">Avis et erreurs</string><string name="notice_notification_channel_description">Affiche des notifications en cas de problème.</string><string name="notification_permission_not_granted">Permission de notification non accordée !</string>diff --git a/src/android/app/src/main/res/values-he/strings.xml b/src/android/app/src/main/res/values-he/strings.xmlindex 41e4450c66..6096605a94 100644--- a/src/android/app/src/main/res/values-he/strings.xml+++ b/src/android/app/src/main/res/values-he/strings.xml@@ -2,9 +2,6 @@<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="MissingTranslation"><string name="app_disclaimer">התוכנה תריץ משחקים לקונסולת ה Nintendo Switch. אף משחק או קבצים בעלי זכויות יוצרים נכללים.<br /><br /> לפני שאת/ה מתחיל בבקשה מצא את קובץ <![CDATA[<b>prod.keys</b>]]> על המכשיר.<br /><br /><![CDATA[<a href=\"https://yuzu-emu.org/help/quickstart\">קרא עוד</a>]]></string>- <string name="emulation_notification_channel_name">אמולציה פעילה</string>- <string name="emulation_notification_channel_description">מציג התראה מתמשכת כאשר האמולציה פועלת.</string>- <string name="emulation_notification_running">yuzu רץ</string><string name="notice_notification_channel_name">התראות ותקלות</string><string name="notice_notification_channel_description">מציג התראות כאשר משהו הולך לא כשורה.</string><string name="notification_permission_not_granted">הרשאות התראות לא ניתנה!</string>diff --git a/src/android/app/src/main/res/values-hu/strings.xml b/src/android/app/src/main/res/values-hu/strings.xmlindex 554da0816c..f3a29e0c39 100644--- a/src/android/app/src/main/res/values-hu/strings.xml+++ b/src/android/app/src/main/res/values-hu/strings.xml@@ -2,9 +2,6 @@<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="MissingTranslation"><string name="app_disclaimer">Ez a szoftver Nintendo Switch játékkonzolhoz készült játékokat futtat. Nem tartalmaz játékokat vagy kulcsokat. .<br /><br />Mielőtt hozzákezdenél, kérjük, válaszd ki a <![CDATA[<b>prod.keys</b>]]> fájl helyét a készülék tárhelyén<br /><br /><![CDATA[<a href=\"https://yuzu-emu.org/help/quickstart\">Tudj meg többet</a>]]></string>- <string name="emulation_notification_channel_name">Emuláció aktív</string>- <string name="emulation_notification_channel_description">Állandó értesítést jelenít meg, amíg az emuláció fut.</string>- <string name="emulation_notification_running">A yuzu fut</string><string name="notice_notification_channel_name">Megjegyzések és hibák</string><string name="notice_notification_channel_description">Értesítések megjelenítése, ha valami rosszul sül el.</string><string name="notification_permission_not_granted">Nincs engedély az értesítés megjelenítéséhez!</string>diff --git a/src/android/app/src/main/res/values-it/strings.xml b/src/android/app/src/main/res/values-it/strings.xmlindex 61b39f57fb..433d84f5c7 100644--- a/src/android/app/src/main/res/values-it/strings.xml+++ b/src/android/app/src/main/res/values-it/strings.xml@@ -2,9 +2,6 @@<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="MissingTranslation"><string name="app_disclaimer">Questo software permette di giocare ai giochi della console Nintendo Switch. Nessun gioco o chiave è inclusa.<br /><br />Prima di iniziare, perfavore individua il file <![CDATA[<b>prod.keys </b>]]> nella memoria del tuo dispositivo.<br /><br /><![CDATA[<a href=\"https://yuzu-emu.org/help/quickstart\">Scopri di più</a>]]></string>- <string name="emulation_notification_channel_name">L\'emulatore è attivo</string>- <string name="emulation_notification_channel_description">Mostra una notifica persistente quando l\'emulatore è in esecuzione.</string>- <string name="emulation_notification_running">yuzu è in esecuzione</string><string name="notice_notification_channel_name">Avvisi ed errori</string><string name="notice_notification_channel_description">Mostra le notifiche quando qualcosa va storto.</string><string name="notification_permission_not_granted">Autorizzazione di notifica non concessa!</string>diff --git a/src/android/app/src/main/res/values-ja/strings.xml b/src/android/app/src/main/res/values-ja/strings.xmlindex 0cff40bb61..da73ad6517 100644--- a/src/android/app/src/main/res/values-ja/strings.xml+++ b/src/android/app/src/main/res/values-ja/strings.xml@@ -2,9 +2,6 @@<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="MissingTranslation"><string name="app_disclaimer">このソフトウェアでは、Nintendo Switchのゲームを実行できます。 ゲームソフトやキーは含まれません。<br /><br />事前に、 <![CDATA[<b> prod.keys </b>]]> ファイルをストレージに配置しておいてください。<br /><br /><![CDATA[<a href=\"https://yuzu-emu.org/help/quickstart\">詳細</a>]]></string>- <string name="emulation_notification_channel_name">エミュレーションが有効です</string>- <string name="emulation_notification_channel_description">エミュレーションの実行中に常設通知を表示します。</string>- <string name="emulation_notification_running">yuzu は実行中です</string><string name="notice_notification_channel_name">通知とエラー</string><string name="notice_notification_channel_description">問題の発生時に通知を表示します。</string><string name="notification_permission_not_granted">通知が許可されていません!</string>diff --git a/src/android/app/src/main/res/values-ko/strings.xml b/src/android/app/src/main/res/values-ko/strings.xmlindex eaa6c23ce4..904353d346 100644--- a/src/android/app/src/main/res/values-ko/strings.xml+++ b/src/android/app/src/main/res/values-ko/strings.xml@@ -2,9 +2,6 @@<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="MissingTranslation"><string name="app_disclaimer">이 소프트웨어는 Nintendo Switch 게임을 실행합니다. 게임 타이틀이나 키는 포함되어 있지 않습니다.<br /><br />시작하기 전에 장치 저장소에서 <![CDATA[<b> prod.keys </b>]]> 파일을 찾아주세요.<br /><br /><![CDATA[<a href=\"https://yuzu-emu.org/help/quickstart\">자세히 알아보기</a>]]></string>- <string name="emulation_notification_channel_name">에뮬레이션이 활성화됨</string>- <string name="emulation_notification_channel_description">에뮬레이션이 실행 중일 때 지속적으로 알림을 표시합니다.</string>- <string name="emulation_notification_running">yuzu가 실행 중입니다.</string><string name="notice_notification_channel_name">알림 및 오류</string><string name="notice_notification_channel_description">문제가 발생하면 알림을 표시합니다.</string><string name="notification_permission_not_granted">알림 권한이 부여되지 않았습니다!</string>diff --git a/src/android/app/src/main/res/values-nb/strings.xml b/src/android/app/src/main/res/values-nb/strings.xmlindex e92dc62d9e..fe3af59201 100644--- a/src/android/app/src/main/res/values-nb/strings.xml+++ b/src/android/app/src/main/res/values-nb/strings.xml@@ -2,9 +2,6 @@<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="MissingTranslation"><string name="app_disclaimer">Denne programvaren vil kjøre spill for Nintendo Switch-spillkonsollen. Ingen spilltitler eller nøkler er inkludert.<br /><br />Før du begynner, må du finne <![CDATA[<b> prod.keys </b>]]> filen din på enhetslagringen.<br /><br /><![CDATA[<a href=\"https://yuzu-emu.org/help/quickstart\">Lær mer</a>]]></string>- <string name="emulation_notification_channel_name">Emulering er aktiv</string>- <string name="emulation_notification_channel_description">Viser et vedvarende varsel når emuleringen kjører.</string>- <string name="emulation_notification_running">Yuzu kjører</string><string name="notice_notification_channel_name">Merknader og feil</string><string name="notice_notification_channel_description">Viser varsler når noe går galt.</string><string name="notification_permission_not_granted">Varslingstillatelse ikke gitt!</string>diff --git a/src/android/app/src/main/res/values-pl/strings.xml b/src/android/app/src/main/res/values-pl/strings.xmlindex fbd0ad7e96..2af7fd7b45 100644--- a/src/android/app/src/main/res/values-pl/strings.xml+++ b/src/android/app/src/main/res/values-pl/strings.xml@@ -2,9 +2,6 @@<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="MissingTranslation"><string name="app_disclaimer">To oprogramowanie umożliwia uruchomienie gier z konsoli Nintendo Switch. Nie zawiera gier ani wymaganych kluczy.<br /><br />Zanim zaczniesz, wybierz plik kluczy <![CDATA[<b> prod.keys </b>]]> z katalogu w pamięci masowej.<br /><br /><![CDATA[<a href=\"https://yuzu-emu.org/help/quickstart\">Dowiedz się więcej</a>]]></string>- <string name="emulation_notification_channel_name">Emulacja jest uruchomiona</string>- <string name="emulation_notification_channel_description">Pokaż trwałe powiadomienie gdy emulacja jest uruchomiona.</string>- <string name="emulation_notification_running">yuzu jest uruchomiony</string><string name="notice_notification_channel_name">Powiadomienia błędy</string><string name="notice_notification_channel_description">Pokaż powiadomienie gdy coś pójdzie źle</string><string name="notification_permission_not_granted">Nie zezwolono na powiadomienia!</string>diff --git a/src/android/app/src/main/res/values-pt-rBR/strings.xml b/src/android/app/src/main/res/values-pt-rBR/strings.xmlindex a87eb11e48..1302525909 100644--- a/src/android/app/src/main/res/values-pt-rBR/strings.xml+++ b/src/android/app/src/main/res/values-pt-rBR/strings.xml@@ -2,9 +2,6 @@<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="MissingTranslation"><string name="app_disclaimer">Este software executa jogos do console Nintendo Switch. Não estão inclusos nem jogos ou chaves.<br /><br />Antes de começar, por favor localize o arquivo <![CDATA[<b> prod.keys </b>]]> no armazenamento de seu dispositivo.<br /><br /><![CDATA[<a href=\"https://yuzu-emu.org/help/quickstart\">Saiba mais</a>]]></string>- <string name="emulation_notification_channel_name">A emulação está Ativa</string>- <string name="emulation_notification_channel_description">Mostra uma notificação permanente enquanto a emulação estiver em andamento.</string>- <string name="emulation_notification_running">O Yuzu está em execução </string><string name="notice_notification_channel_name">Notificações e erros</string><string name="notice_notification_channel_description">Mostra notificações quando algo dá errado.</string><string name="notification_permission_not_granted">Acesso às notificações não concedido!</string>diff --git a/src/android/app/src/main/res/values-pt-rPT/strings.xml b/src/android/app/src/main/res/values-pt-rPT/strings.xmlindex 684a716165..0fdbae4f8c 100644--- a/src/android/app/src/main/res/values-pt-rPT/strings.xml+++ b/src/android/app/src/main/res/values-pt-rPT/strings.xml@@ -2,9 +2,6 @@<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="MissingTranslation"><string name="app_disclaimer">Este software corre jogos para a consola Nintendo Switch. Não estão incluídas nem jogos ou chaves. <br /><br />Antes de começares, por favor localiza o ficheiro <![CDATA[1 prod.keys 1]]> no armazenamento do teu dispositivo.<br /><br /><![CDATA[2Learn more2]]></string>- <string name="emulation_notification_channel_name">Emulação está Ativa</string>- <string name="emulation_notification_channel_description">Mostra uma notificação permanente enquanto a emulação está a correr.</string>- <string name="emulation_notification_running">Yuzu está em execução </string><string name="notice_notification_channel_name">Notificações e erros</string><string name="notice_notification_channel_description">Mostra notificações quendo algo corre mal.</string><string name="notification_permission_not_granted">Permissões de notificação não permitidas </string>diff --git a/src/android/app/src/main/res/values-ru/strings.xml b/src/android/app/src/main/res/values-ru/strings.xmlindex 099b2c9ebf..2dfd4a8247 100644--- a/src/android/app/src/main/res/values-ru/strings.xml+++ b/src/android/app/src/main/res/values-ru/strings.xml@@ -2,9 +2,6 @@<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="MissingTranslation"><string name="app_disclaimer">Это программное обеспечение позволяет запускать игры для игровой консоли Nintendo Switch. Мы не предоставляем сами игры или ключи.<br /><br />Перед началом работы найдите файл <![CDATA[<b> prod.keys </b>]]> в хранилище устройства..<br /><br /><![CDATA[<a href=\"https://yuzu-emu.org/help/quickstart\">Узнать больше</a>]]></string>- <string name="emulation_notification_channel_name">Эмуляция активна</string>- <string name="emulation_notification_channel_description">Показывает постоянное уведомление, когда запущена эмуляция.</string>- <string name="emulation_notification_running">yuzu запущен</string><string name="notice_notification_channel_name">Уведомления и ошибки</string><string name="notice_notification_channel_description">Показывать уведомления, когда что-то пошло не так</string><string name="notification_permission_not_granted">Вы не предоставили разрешение на уведомления!</string>diff --git a/src/android/app/src/main/res/values-uk/strings.xml b/src/android/app/src/main/res/values-uk/strings.xmlindex 361f0b7260..9a2804a93d 100644--- a/src/android/app/src/main/res/values-uk/strings.xml+++ b/src/android/app/src/main/res/values-uk/strings.xml@@ -2,9 +2,6 @@<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="MissingTranslation"><string name="app_disclaimer">Це програмне забезпечення дозволяє запускати ігри для ігрової консолі Nintendo Switch. Ми не надаємо самі ігри або ключі.<br /><br />Перед початком роботи знайдіть ваш файл <![CDATA[<b> prod.keys </b>]]> у сховищі пристрою.<br /><br /><![CDATA[<a href=\"https://yuzu-emu.org/help/quickstart\">Дізнатися більше</a>]]></string>- <string name="emulation_notification_channel_name">Емуляція активна</string>- <string name="emulation_notification_channel_description">Показує постійне сповіщення, коли запущено емуляцію.</string>- <string name="emulation_notification_running">yuzu запущено</string><string name="notice_notification_channel_name">Сповіщення та помилки</string><string name="notice_notification_channel_description">Показувати сповіщення, коли щось пішло не так</string><string name="notification_permission_not_granted">Ви не надали дозвіл сповіщень!</string>diff --git a/src/android/app/src/main/res/values-vi/strings.xml b/src/android/app/src/main/res/values-vi/strings.xmlindex 0a722f3297..dc06610c74 100644--- a/src/android/app/src/main/res/values-vi/strings.xml+++ b/src/android/app/src/main/res/values-vi/strings.xml@@ -2,9 +2,6 @@<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="MissingTranslation"><string name="app_disclaimer">Phần mềm này sẽ chạy các game cho máy chơi game Nintendo Switch. Không có title games hoặc keys được bao gồm.<br /><br />Trước khi bạn bắt đầu, hãy tìm tập tin <![CDATA[<b> prod.keys </b>]]> trên bộ nhớ thiết bị của bạn.<br /><br /><![CDATA[<a href=\"https://yuzu-emu.org/help/quickstart\">Tìm hiểu thêm</a>]]></string>- <string name="emulation_notification_channel_name">Giả lập đang chạy</string>- <string name="emulation_notification_channel_description">Hiển thị thông báo liên tục khi giả lập đang chạy.</string>- <string name="emulation_notification_running">yuzu đang chạy</string><string name="notice_notification_channel_name">Thông báo và lỗi</string><string name="notice_notification_channel_description">Hiển thị thông báo khi có sự cố xảy ra.</string><string name="notification_permission_not_granted">Ứng dụng không được cấp quyền thông báo!</string>diff --git a/src/android/app/src/main/res/values-zh-rCN/strings.xml b/src/android/app/src/main/res/values-zh-rCN/strings.xmlindex b840591a4d..6acf6f391f 100644--- a/src/android/app/src/main/res/values-zh-rCN/strings.xml+++ b/src/android/app/src/main/res/values-zh-rCN/strings.xml@@ -2,9 +2,6 @@<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="MissingTranslation"><string name="app_disclaimer">此软件可以运行 Nintendo Switch 游戏,但不包含任何游戏和密钥文件。<br /><br />在开始前,请找到放置于设备存储中的 <![CDATA[<b> prod.keys </b>]]> 文件。<br /><br /><![CDATA[<a href=\"https://yuzu-emu.org/help/quickstart\">了解更多</a>]]></string>- <string name="emulation_notification_channel_name">正在进行模拟</string>- <string name="emulation_notification_channel_description">在模拟运行时显示持久通知。</string>- <string name="emulation_notification_running">yuzu 正在运行</string><string name="notice_notification_channel_name">通知及错误提醒</string><string name="notice_notification_channel_description">当发生错误时显示通知。</string><string name="notification_permission_not_granted">未授予通知权限!</string>diff --git a/src/android/app/src/main/res/values-zh-rTW/strings.xml b/src/android/app/src/main/res/values-zh-rTW/strings.xmlindex d392557140..411fc59473 100644--- a/src/android/app/src/main/res/values-zh-rTW/strings.xml+++ b/src/android/app/src/main/res/values-zh-rTW/strings.xml@@ -2,9 +2,6 @@<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="MissingTranslation"><string name="app_disclaimer">此軟體可以執行 Nintendo Switch 主機遊戲,但不包含任何遊戲和金鑰。<br /><br />在您開始前,請找到放置於您的裝置儲存空間的 <![CDATA[<b> prod.keys </b>]]> 檔案。<br /><br /><![CDATA[<a href=\"https://yuzu-emu.org/help/quickstart\">深入瞭解</a>]]></string>- <string name="emulation_notification_channel_name">模擬進行中</string>- <string name="emulation_notification_channel_description">在模擬執行時顯示持續通知。</string>- <string name="emulation_notification_running">yuzu 正在執行</string><string name="notice_notification_channel_name">通知和錯誤</string><string name="notice_notification_channel_description">發生錯誤時顯示通知。</string><string name="notification_permission_not_granted">未授予通知權限!</string>diff --git a/src/android/app/src/main/res/values/strings.xml b/src/android/app/src/main/res/values/strings.xmlindex 3cd1586fd4..7750994159 100644--- a/src/android/app/src/main/res/values/strings.xml+++ b/src/android/app/src/main/res/values/strings.xml@@ -4,10 +4,6 @@<!-- General application strings --><string name="app_name" translatable="false">yuzu</string><string name="app_disclaimer">This software will run games for the Nintendo Switch game console. No game titles or keys are included.<br /><br />Before you begin, please locate your <![CDATA[<b> prod.keys </b>]]> file on your device storage.<br /><br /><![CDATA[<a href="https://yuzu-emu.org/help/quickstart">Learn more</a>]]></string>- <string name="emulation_notification_channel_name">Emulation is Active</string>- <string name="emulation_notification_channel_id" translatable="false">emulationIsActive</string>- <string name="emulation_notification_channel_description">Shows a persistent notification when emulation is running.</string>- <string name="emulation_notification_running">yuzu is running</string><string name="notice_notification_channel_name">Notices and errors</string><string name="notice_notification_channel_id" translatable="false">noticesAndErrors</string><string name="notice_notification_channel_description">Shows notifications when something goes wrong.</string>