diff --git a/manager/src/main/AndroidManifest.xml b/manager/src/main/AndroidManifest.xml index 0032835c..d051615f 100644 --- a/manager/src/main/AndroidManifest.xml +++ b/manager/src/main/AndroidManifest.xml @@ -6,8 +6,6 @@ android:name="android.permission.QUERY_ALL_PACKAGES" tools:ignore="QueryAllPackagesPermission" /> - - diff --git a/manager/src/main/java/org/lsposed/lspatch/LSPApplication.kt b/manager/src/main/java/org/lsposed/lspatch/LSPApplication.kt index d24b72de..e35023e2 100644 --- a/manager/src/main/java/org/lsposed/lspatch/LSPApplication.kt +++ b/manager/src/main/java/org/lsposed/lspatch/LSPApplication.kt @@ -2,14 +2,12 @@ package org.lsposed.lspatch import android.app.Application import android.content.Context -import android.content.Intent import android.content.SharedPreferences import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.launch import org.lsposed.hiddenapibypass.HiddenApiBypass import org.lsposed.lspatch.manager.AppBroadcastReceiver -import org.lsposed.lspatch.manager.ModuleService import org.lsposed.lspatch.util.LSPPackageManager import org.lsposed.lspatch.util.ShizukuApi import java.io.File @@ -32,7 +30,6 @@ class LSPApplication : Application() { prefs = lspApp.getSharedPreferences("settings", Context.MODE_PRIVATE) ShizukuApi.init() AppBroadcastReceiver.register(this) - startService(Intent(this, ModuleService::class.java)) globalScope.launch { LSPPackageManager.fetchAppList() } } } diff --git a/manager/src/main/java/org/lsposed/lspatch/config/Configs.kt b/manager/src/main/java/org/lsposed/lspatch/config/Configs.kt index 9c78bfb4..0f7cb8e1 100644 --- a/manager/src/main/java/org/lsposed/lspatch/config/Configs.kt +++ b/manager/src/main/java/org/lsposed/lspatch/config/Configs.kt @@ -1,8 +1,6 @@ package org.lsposed.lspatch.config -import android.content.Intent import org.lsposed.lspatch.lspApp -import org.lsposed.lspatch.manager.ModuleService import org.lsposed.lspatch.ui.util.delegateStateOf import org.lsposed.lspatch.ui.util.getValue import org.lsposed.lspatch.ui.util.setValue @@ -14,11 +12,6 @@ object Configs { private const val PREFS_KEYSTORE_ALIAS_PASSWORD = "keystore_alias_password" private const val PREFS_STORAGE_DIRECTORY = "storage_directory" private const val PREFS_DETAIL_PATCH_LOGS = "detail_patch_logs" - private const val PREFS_KEEP_ALIVE = "keep_alive" - - enum class KeepAlive { - OFF, FOREGROUND - } var keyStorePassword by delegateStateOf(lspApp.prefs.getString(PREFS_KEYSTORE_PASSWORD, "123456")!!) { lspApp.prefs.edit().putString(PREFS_KEYSTORE_PASSWORD, it).apply() @@ -39,9 +32,4 @@ object Configs { var detailPatchLogs by delegateStateOf(lspApp.prefs.getBoolean(PREFS_DETAIL_PATCH_LOGS, true)) { lspApp.prefs.edit().putBoolean(PREFS_DETAIL_PATCH_LOGS, it).apply() } - - var keepAlive by delegateStateOf(KeepAlive.values()[lspApp.prefs.getInt(PREFS_KEEP_ALIVE, KeepAlive.OFF.ordinal)]) { - lspApp.prefs.edit().putInt(PREFS_KEEP_ALIVE, it.ordinal).apply() - lspApp.startService(Intent(lspApp, ModuleService::class.java)) - } } diff --git a/manager/src/main/java/org/lsposed/lspatch/manager/ModuleService.kt b/manager/src/main/java/org/lsposed/lspatch/manager/ModuleService.kt index a695075f..f5bba1b8 100644 --- a/manager/src/main/java/org/lsposed/lspatch/manager/ModuleService.kt +++ b/manager/src/main/java/org/lsposed/lspatch/manager/ModuleService.kt @@ -1,16 +1,9 @@ package org.lsposed.lspatch.manager -import android.app.NotificationChannel -import android.app.NotificationManager import android.app.Service import android.content.Intent -import android.content.pm.ServiceInfo -import android.os.Build import android.os.IBinder import android.util.Log -import androidx.core.app.NotificationCompat -import org.lsposed.lspatch.config.Configs -import org.lsposed.lspatch.share.Constants class ModuleService : Service() { @@ -19,31 +12,6 @@ class ModuleService : Service() { private const val TAG = "ModuleService" } - override fun onStartCommand(intent: Intent?, flags: Int, startId: Int): Int { - intent ?: return START_NOT_STICKY - if (Configs.keepAlive == Configs.KeepAlive.FOREGROUND) { - val channel = NotificationChannel(Constants.MANAGER_PACKAGE_NAME, TAG, NotificationManager.IMPORTANCE_DEFAULT) - val manager = getSystemService(NOTIFICATION_SERVICE) as NotificationManager - manager.createNotificationChannel(channel) - // TODO: https://developer.android.com/guide/components/bound-services - if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.UPSIDE_DOWN_CAKE) { - startForeground( - 1, - NotificationCompat.Builder(this, Constants.MANAGER_PACKAGE_NAME).build(), - ServiceInfo.FOREGROUND_SERVICE_TYPE_SPECIAL_USE - ) - } else { - startForeground( - 1, - NotificationCompat.Builder(this, Constants.MANAGER_PACKAGE_NAME).build() - ) - } - } else { - stopForeground(STOP_FOREGROUND_REMOVE) - } - return super.onStartCommand(intent, flags, startId) - } - override fun onBind(intent: Intent): IBinder? { val packageName = intent.getStringExtra("packageName") ?: return null // TODO: Authentication diff --git a/manager/src/main/java/org/lsposed/lspatch/ui/page/SettingsScreen.kt b/manager/src/main/java/org/lsposed/lspatch/ui/page/SettingsScreen.kt index b43fb790..0a4181e4 100644 --- a/manager/src/main/java/org/lsposed/lspatch/ui/page/SettingsScreen.kt +++ b/manager/src/main/java/org/lsposed/lspatch/ui/page/SettingsScreen.kt @@ -13,7 +13,6 @@ import androidx.compose.foundation.verticalScroll import androidx.compose.material.icons.Icons import androidx.compose.material.icons.outlined.Ballot import androidx.compose.material.icons.outlined.BugReport -import androidx.compose.material.icons.outlined.HourglassEmpty import androidx.compose.material3.* import androidx.compose.runtime.* import androidx.compose.runtime.saveable.rememberSaveable @@ -51,7 +50,6 @@ fun SettingsScreen() { ) { KeyStore() DetailPatchLogs() - KeepAlive() } } } @@ -242,39 +240,3 @@ private fun DetailPatchLogs() { title = stringResource(R.string.settings_detail_patch_logs) ) } - -@Composable -private fun KeepAlive() { - var expanded by remember { mutableStateOf(false) } - AnywhereDropdown( - expanded = expanded, - onDismissRequest = { expanded = false }, - onClick = { expanded = true }, - surface = { - val desc = when (Configs.keepAlive) { - Configs.KeepAlive.OFF -> R.string.off - Configs.KeepAlive.FOREGROUND -> R.string.settings_keep_alive_foreground - } - SettingsItem( - icon = Icons.Outlined.HourglassEmpty, - title = stringResource(R.string.settings_keep_alive), - desc = stringResource(desc) - ) - } - ) { - DropdownMenuItem( - text = { Text(stringResource(R.string.off)) }, - onClick = { - Configs.keepAlive = Configs.KeepAlive.OFF - expanded = false - } - ) - DropdownMenuItem( - text = { Text(stringResource(R.string.settings_keep_alive_foreground)) }, - onClick = { - Configs.keepAlive = Configs.KeepAlive.FOREGROUND - expanded = false - } - ) - } -} diff --git a/manager/src/main/res/values-af/strings.xml b/manager/src/main/res/values-af/strings.xml index 0deda6b7..2d80359c 100644 --- a/manager/src/main/res/values-af/strings.xml +++ b/manager/src/main/res/values-af/strings.xml @@ -86,6 +86,4 @@ Verkeerde alias naam Verkeerde alias wagwoord Detail pleister logs - Hou aan die lewe - Voorgrond diff --git a/manager/src/main/res/values-ar/strings.xml b/manager/src/main/res/values-ar/strings.xml index 754837e9..3b1871ec 100644 --- a/manager/src/main/res/values-ar/strings.xml +++ b/manager/src/main/res/values-ar/strings.xml @@ -86,6 +86,4 @@ اسم مستعار خاطئ كلمة مرور الاسم المستعار خاطئة تفاصيل سجلات التعديل - إبقاء التطبيق يعمل بالخلفية - التطبيق يعمل بالخلفية diff --git a/manager/src/main/res/values-bg/strings.xml b/manager/src/main/res/values-bg/strings.xml index 2c9e5fb5..3856ae0d 100644 --- a/manager/src/main/res/values-bg/strings.xml +++ b/manager/src/main/res/values-bg/strings.xml @@ -86,6 +86,4 @@ Неправилно име на псевдоним Грешна парола за псевдоним Подробни дневници на кръпките - Запазете живота си - На преден план diff --git a/manager/src/main/res/values-bn/strings.xml b/manager/src/main/res/values-bn/strings.xml index c031eac9..55defa2c 100644 --- a/manager/src/main/res/values-bn/strings.xml +++ b/manager/src/main/res/values-bn/strings.xml @@ -86,6 +86,4 @@ ভুল উপনাম নাম ভুল ওরফে পাসওয়ার্ড বিস্তারিত প্যাচ লগ - জিবন্ত রাখ - ফোরগ্রাউন্ড diff --git a/manager/src/main/res/values-ca/strings.xml b/manager/src/main/res/values-ca/strings.xml index 6e9bb6bb..e5db1a99 100644 --- a/manager/src/main/res/values-ca/strings.xml +++ b/manager/src/main/res/values-ca/strings.xml @@ -86,6 +86,4 @@ Nom d\'àlies incorrecte Contrasenya d\'àlies incorrecta Registres de pedaços detallats - Mantenir amb vida - Primer pla diff --git a/manager/src/main/res/values-cs/strings.xml b/manager/src/main/res/values-cs/strings.xml index 0263b2d4..bea1be9f 100644 --- a/manager/src/main/res/values-cs/strings.xml +++ b/manager/src/main/res/values-cs/strings.xml @@ -86,6 +86,4 @@ Špatný název aliasu Špatné heslo aliasu Podrobné protokoly oprav - Udržovat při životě - Přední stránka diff --git a/manager/src/main/res/values-da/strings.xml b/manager/src/main/res/values-da/strings.xml index 62a61dbd..e51e6230 100644 --- a/manager/src/main/res/values-da/strings.xml +++ b/manager/src/main/res/values-da/strings.xml @@ -86,6 +86,4 @@ Forkert aliasnavn Forkert adgangskode til alias Detaljerede patch-logfiler - Hold i live - Forgrund diff --git a/manager/src/main/res/values-de/strings.xml b/manager/src/main/res/values-de/strings.xml index e16f4faf..54cb7ccc 100644 --- a/manager/src/main/res/values-de/strings.xml +++ b/manager/src/main/res/values-de/strings.xml @@ -86,6 +86,4 @@ Falscher Alias-Name Falsches Alias-Passwort Detaillierte Patch-Protokolle - Am Leben erhalten - Vordergrund diff --git a/manager/src/main/res/values-el/strings.xml b/manager/src/main/res/values-el/strings.xml index f5dadbe1..1183b13f 100644 --- a/manager/src/main/res/values-el/strings.xml +++ b/manager/src/main/res/values-el/strings.xml @@ -86,6 +86,4 @@ Λάθος όνομα ψευδώνυμου Λάθος κωδικός πρόσβασης ψευδώνυμου Λεπτομερή αρχεία καταγραφής επιδιορθώσεων - Κρατηθείτε ζωντανοί - Πρόσφατα στοιχεία diff --git a/manager/src/main/res/values-es/strings.xml b/manager/src/main/res/values-es/strings.xml index 1044a2b6..39666959 100644 --- a/manager/src/main/res/values-es/strings.xml +++ b/manager/src/main/res/values-es/strings.xml @@ -86,6 +86,4 @@ Nombre de alias incorrecto Contraseña de alias incorrecta Registros de parches detallados - Mantener la vida - Primer plano diff --git a/manager/src/main/res/values-et/strings.xml b/manager/src/main/res/values-et/strings.xml index 868b5e08..37f12a8b 100644 --- a/manager/src/main/res/values-et/strings.xml +++ b/manager/src/main/res/values-et/strings.xml @@ -86,6 +86,4 @@ Vale pseudonüümi nimi Vale aliase parool Üksikasjade paikade logid - Elus hoidma - Esiplaan diff --git a/manager/src/main/res/values-fa/strings.xml b/manager/src/main/res/values-fa/strings.xml index 835b0a62..63631bc3 100644 --- a/manager/src/main/res/values-fa/strings.xml +++ b/manager/src/main/res/values-fa/strings.xml @@ -86,6 +86,4 @@ نام مستعار اشتباه است رمز یا نام مستعار اشتباه است گزارش های اطلاعات پچ - زنده بمان - پیش زمینه diff --git a/manager/src/main/res/values-fi/strings.xml b/manager/src/main/res/values-fi/strings.xml index fff45088..74281367 100644 --- a/manager/src/main/res/values-fi/strings.xml +++ b/manager/src/main/res/values-fi/strings.xml @@ -86,6 +86,4 @@ Väärä alias-nimi Väärä alias-salasana Yksityiskohtaiset korjauslokit - Pidä hengissä - Tulosaineisto diff --git a/manager/src/main/res/values-fr/strings.xml b/manager/src/main/res/values-fr/strings.xml index 109ee2b3..d137fd95 100644 --- a/manager/src/main/res/values-fr/strings.xml +++ b/manager/src/main/res/values-fr/strings.xml @@ -86,6 +86,4 @@ Nom d\'alias erroné Mot de passe d\'alias erroné Détails des journaux du patch - Garder la vie sauve - Premier plan diff --git a/manager/src/main/res/values-hi/strings.xml b/manager/src/main/res/values-hi/strings.xml index f961914b..3344d063 100644 --- a/manager/src/main/res/values-hi/strings.xml +++ b/manager/src/main/res/values-hi/strings.xml @@ -86,6 +86,4 @@ गलत उपनाम गलत उपनाम पासवर्ड विस्तार पैच लॉग - जिंदा रहो - अग्रभूमि diff --git a/manager/src/main/res/values-hr/strings.xml b/manager/src/main/res/values-hr/strings.xml index 85cadefa..a7420176 100644 --- a/manager/src/main/res/values-hr/strings.xml +++ b/manager/src/main/res/values-hr/strings.xml @@ -86,6 +86,4 @@ Pogrešno pseudonim Pogrešna lozinka za alias Dnevnici zakrpa detalja - Držati na životu - Prednji plan diff --git a/manager/src/main/res/values-hu/strings.xml b/manager/src/main/res/values-hu/strings.xml index 69886c2e..ca7cc3d7 100644 --- a/manager/src/main/res/values-hu/strings.xml +++ b/manager/src/main/res/values-hu/strings.xml @@ -86,6 +86,4 @@ Rossz alias név Rossz alias jelszó Részletes patch naplók - Tartsd életben - Új információk és jogok diff --git a/manager/src/main/res/values-in/strings.xml b/manager/src/main/res/values-in/strings.xml index 9cfaa7a1..94f6e593 100644 --- a/manager/src/main/res/values-in/strings.xml +++ b/manager/src/main/res/values-in/strings.xml @@ -86,6 +86,4 @@ Nama alias salah Kata sandi alias salah Detail log tambalan - Tetap hidup - Latar Depan diff --git a/manager/src/main/res/values-it/strings.xml b/manager/src/main/res/values-it/strings.xml index 2fcb535a..ea0f3e6a 100644 --- a/manager/src/main/res/values-it/strings.xml +++ b/manager/src/main/res/values-it/strings.xml @@ -86,6 +86,4 @@ Nome alias errato Password alias errata Registri dettagliati delle patch - Mantieni attivo - Primo piano diff --git a/manager/src/main/res/values-iw/strings.xml b/manager/src/main/res/values-iw/strings.xml index 5e07a9c8..38433abb 100644 --- a/manager/src/main/res/values-iw/strings.xml +++ b/manager/src/main/res/values-iw/strings.xml @@ -86,6 +86,4 @@ שם כינוי שגוי סיסמת כינוי שגויה פירוט יומני תיקון - להשאיר בחיים - חֲזִית diff --git a/manager/src/main/res/values-ja/strings.xml b/manager/src/main/res/values-ja/strings.xml index 874034dc..2a7ef617 100644 --- a/manager/src/main/res/values-ja/strings.xml +++ b/manager/src/main/res/values-ja/strings.xml @@ -86,6 +86,4 @@ エイリアス名が間違っています エイリアスのパスワードが違います 詳細なパッチログ - Keep Alive - フォアグラウンド diff --git a/manager/src/main/res/values-ko/strings.xml b/manager/src/main/res/values-ko/strings.xml index 79e21e0e..970fcd88 100644 --- a/manager/src/main/res/values-ko/strings.xml +++ b/manager/src/main/res/values-ko/strings.xml @@ -86,6 +86,4 @@ 잘못된 별칭 이름 잘못된 별칭 암호 세부 패치 로그 - 살아 유지 - 전경 diff --git a/manager/src/main/res/values-ku/strings.xml b/manager/src/main/res/values-ku/strings.xml index 59313d04..e7fb5350 100644 --- a/manager/src/main/res/values-ku/strings.xml +++ b/manager/src/main/res/values-ku/strings.xml @@ -86,6 +86,4 @@ Navê nasnavê xelet Şîfreya nasnavê çewt Detail patch têketin - Bijî - Pêşî diff --git a/manager/src/main/res/values-lt/strings.xml b/manager/src/main/res/values-lt/strings.xml index 2fc7942b..20a9c119 100644 --- a/manager/src/main/res/values-lt/strings.xml +++ b/manager/src/main/res/values-lt/strings.xml @@ -86,6 +86,4 @@ Neteisingas pseudonimas Neteisingas slapyvardžio slaptažodis Išsamūs pataisų žurnalai - Išlaikykite gyvybę - Naujos žinios diff --git a/manager/src/main/res/values-nl/strings.xml b/manager/src/main/res/values-nl/strings.xml index fa342f59..3fb43337 100644 --- a/manager/src/main/res/values-nl/strings.xml +++ b/manager/src/main/res/values-nl/strings.xml @@ -86,6 +86,4 @@ Verkeerde aliasnaam Verkeerd alias wachtwoord Detail patch logs - In leven houden - Voorgrond diff --git a/manager/src/main/res/values-no/strings.xml b/manager/src/main/res/values-no/strings.xml index 7d1d37d9..eea295bd 100644 --- a/manager/src/main/res/values-no/strings.xml +++ b/manager/src/main/res/values-no/strings.xml @@ -86,6 +86,4 @@ Feil aliasnavn Feil alias passord Detalj patchlogger - Holde i live - Forgrunn diff --git a/manager/src/main/res/values-pl/strings.xml b/manager/src/main/res/values-pl/strings.xml index 0cd88dec..ed8efb02 100644 --- a/manager/src/main/res/values-pl/strings.xml +++ b/manager/src/main/res/values-pl/strings.xml @@ -86,6 +86,4 @@ Nieprawidłowa nazwa aliasu Nieprawidłowe hasło aliasu Szczegóły logów poprawek - Utrzymać się przy życiu - Pierwsza plansza diff --git a/manager/src/main/res/values-pt-rBR/strings.xml b/manager/src/main/res/values-pt-rBR/strings.xml index 6ad55b80..83a934bb 100644 --- a/manager/src/main/res/values-pt-rBR/strings.xml +++ b/manager/src/main/res/values-pt-rBR/strings.xml @@ -86,6 +86,4 @@ Nome do apelido incorreto Senha do apelido incorreta Registros de patch detalhados - Mantenha vivo - Primeiro plano diff --git a/manager/src/main/res/values-pt/strings.xml b/manager/src/main/res/values-pt/strings.xml index 3a55a416..bfcc3ace 100644 --- a/manager/src/main/res/values-pt/strings.xml +++ b/manager/src/main/res/values-pt/strings.xml @@ -86,6 +86,4 @@ Nome falso Palavra-passe de outrora incorrecta Registos de remendos detalhados - Mantenha-se vivo - Primeiro plano diff --git a/manager/src/main/res/values-ro/strings.xml b/manager/src/main/res/values-ro/strings.xml index 56b76fd0..d0c39f01 100644 --- a/manager/src/main/res/values-ro/strings.xml +++ b/manager/src/main/res/values-ro/strings.xml @@ -86,6 +86,4 @@ Nume alias greșit Parolă alias greșită Detaliile jurnalelor de patch-uri - Păstrați în viață - Prim-plan diff --git a/manager/src/main/res/values-ru/strings.xml b/manager/src/main/res/values-ru/strings.xml index 6e41293b..56374a93 100644 --- a/manager/src/main/res/values-ru/strings.xml +++ b/manager/src/main/res/values-ru/strings.xml @@ -86,6 +86,4 @@ Неправильное имя псевдонима Неправильный пароль псевдонима Подробные логи патчей - Всегда активен - В фоне diff --git a/manager/src/main/res/values-si/strings.xml b/manager/src/main/res/values-si/strings.xml index 8cad3919..f42f0d14 100644 --- a/manager/src/main/res/values-si/strings.xml +++ b/manager/src/main/res/values-si/strings.xml @@ -86,6 +86,4 @@ වැරදි අන්වර්ථ නාමයක් වැරදි අන්වර්ථ මුරපදය විස්තර පැච් ලොග - ජීවත් කරවන්න - පෙරබිම diff --git a/manager/src/main/res/values-sk/strings.xml b/manager/src/main/res/values-sk/strings.xml index b1c82939..be37c14a 100644 --- a/manager/src/main/res/values-sk/strings.xml +++ b/manager/src/main/res/values-sk/strings.xml @@ -86,6 +86,4 @@ Nesprávny alias Nesprávne heslo aliasu Podrobné protokoly o opravách - Udržať nažive - Popredie diff --git a/manager/src/main/res/values-sv/strings.xml b/manager/src/main/res/values-sv/strings.xml index 3fad0c8e..0de2a8db 100644 --- a/manager/src/main/res/values-sv/strings.xml +++ b/manager/src/main/res/values-sv/strings.xml @@ -86,6 +86,4 @@ Fel aliasnamn Fel lösenord för alias Detaljerade patchloggar - Håll vid liv - Förgrund diff --git a/manager/src/main/res/values-th/strings.xml b/manager/src/main/res/values-th/strings.xml index 877efa1a..5a5a3239 100644 --- a/manager/src/main/res/values-th/strings.xml +++ b/manager/src/main/res/values-th/strings.xml @@ -86,6 +86,4 @@ ชื่อนามแฝงไม่ถูกต้อง รหัสผ่านนามแฝงไม่ถูกต้อง บันทึกการแก้ไขรายละเอียด - ให้มีชีวิตอยู่ - เบื้องหน้า diff --git a/manager/src/main/res/values-tr/strings.xml b/manager/src/main/res/values-tr/strings.xml index 7a83818c..4d3c7b29 100644 --- a/manager/src/main/res/values-tr/strings.xml +++ b/manager/src/main/res/values-tr/strings.xml @@ -86,6 +86,4 @@ Yanlış takma ad Yanlış takma ad şifresi Ayrıntılı yama günlükleri - Canlı tutun - Ön Plan diff --git a/manager/src/main/res/values-uk/strings.xml b/manager/src/main/res/values-uk/strings.xml index cc73d4b2..2563180d 100644 --- a/manager/src/main/res/values-uk/strings.xml +++ b/manager/src/main/res/values-uk/strings.xml @@ -86,6 +86,4 @@ Неправильний псевдонім Неправильний пароль псевдоніма Детальні журнали патчів - Підтримувати - Передній план diff --git a/manager/src/main/res/values-ur/strings.xml b/manager/src/main/res/values-ur/strings.xml index 5748fa66..4038c3ba 100644 --- a/manager/src/main/res/values-ur/strings.xml +++ b/manager/src/main/res/values-ur/strings.xml @@ -86,6 +86,4 @@ غلط عرفی نام غلط عرفی پاس ورڈ تفصیلی پیچ لاگز - زندہ رہو - پیش منظر diff --git a/manager/src/main/res/values-vi/strings.xml b/manager/src/main/res/values-vi/strings.xml index 856103fd..995c47da 100644 --- a/manager/src/main/res/values-vi/strings.xml +++ b/manager/src/main/res/values-vi/strings.xml @@ -86,6 +86,4 @@ Tên bí danh sai Mật khẩu bí danh sai Nhật ký vá chi tiết - Cố sống đi - Vấn đề xung quanh diff --git a/manager/src/main/res/values-zh-rCN/strings.xml b/manager/src/main/res/values-zh-rCN/strings.xml index 0b81d85b..b135db7b 100644 --- a/manager/src/main/res/values-zh-rCN/strings.xml +++ b/manager/src/main/res/values-zh-rCN/strings.xml @@ -86,6 +86,4 @@ 别名错误 别名密码错误 详细修补日志 - 保活 - 前台 diff --git a/manager/src/main/res/values-zh-rTW/strings.xml b/manager/src/main/res/values-zh-rTW/strings.xml index 2a26f80d..ad7841cf 100644 --- a/manager/src/main/res/values-zh-rTW/strings.xml +++ b/manager/src/main/res/values-zh-rTW/strings.xml @@ -86,6 +86,4 @@ 別名錯誤 別名密碼錯誤 詳細打包日誌 - 保活 - 前臺 diff --git a/manager/src/main/res/values/strings.xml b/manager/src/main/res/values/strings.xml index 605f9b39..40e0f35e 100644 --- a/manager/src/main/res/values/strings.xml +++ b/manager/src/main/res/values/strings.xml @@ -53,7 +53,7 @@ Select an installed app Patch Mode Local - Patch an app without modules embedded.\nThe patched app need the manager running in background, and Xposed scope can be changed dynamically without re-patch.\nLocal patched apps can only run on the local device. + Patch an app without modules embedded.\nXposed scope can be changed dynamically without re-patch.\nLocal patched apps can only run on the local device. Integrated Patch an app with modules embedded.\nThe patched app can run without the manager, but cannot be managed dynamically.\nIntegrated patched apps can be used on devices that do not have LSPatch Manager installed. Embed modules @@ -90,6 +90,4 @@ Wrong alias name Wrong alias password Detail patch logs - Keep alive - Foreground diff --git a/patch-loader/src/main/java/org/lsposed/lspatch/service/RemoteApplicationService.java b/patch-loader/src/main/java/org/lsposed/lspatch/service/RemoteApplicationService.java index fdea12a2..d7833ef2 100644 --- a/patch-loader/src/main/java/org/lsposed/lspatch/service/RemoteApplicationService.java +++ b/patch-loader/src/main/java/org/lsposed/lspatch/service/RemoteApplicationService.java @@ -76,7 +76,7 @@ public void onServiceDisconnected(ComponentName name) { if (!success) throw new TimeoutException("Bind service timeout"); } catch (NoSuchMethodException | IllegalAccessException | InvocationTargetException | InterruptedException | TimeoutException e) { - Toast.makeText(context, "Manager died", Toast.LENGTH_SHORT).show(); + Toast.makeText(context, "Unable to connect to Manager", Toast.LENGTH_SHORT).show(); var r = new RemoteException("Failed to get manager binder"); r.initCause(e); throw r;