From 59d7f2720b930ddc7369fbeb6e955266d4e09fac Mon Sep 17 00:00:00 2001 From: Aayush Gupta Date: Wed, 22 Nov 2023 16:37:17 +0530 Subject: [PATCH] Explicity mark {Native|Service}Installer as deprecated * Both should be removed in near future to avoid maintainence burden Signed-off-by: Aayush Gupta --- .../java/com/aurora/store/data/installer/NativeInstaller.kt | 1 + .../java/com/aurora/store/data/installer/ServiceInstaller.kt | 1 + app/src/main/res/values/strings.xml | 4 ++-- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/aurora/store/data/installer/NativeInstaller.kt b/app/src/main/java/com/aurora/store/data/installer/NativeInstaller.kt index 70d7e0370..9253dfd03 100644 --- a/app/src/main/java/com/aurora/store/data/installer/NativeInstaller.kt +++ b/app/src/main/java/com/aurora/store/data/installer/NativeInstaller.kt @@ -26,6 +26,7 @@ import android.os.Build import com.aurora.store.util.Log import java.io.File +@Deprecated("Deprecated in favour of SessionInstaller") class NativeInstaller(context: Context) : InstallerBase(context) { override fun install(packageName: String, files: List) { diff --git a/app/src/main/java/com/aurora/store/data/installer/ServiceInstaller.kt b/app/src/main/java/com/aurora/store/data/installer/ServiceInstaller.kt index 396171adf..94fb09e69 100644 --- a/app/src/main/java/com/aurora/store/data/installer/ServiceInstaller.kt +++ b/app/src/main/java/com/aurora/store/data/installer/ServiceInstaller.kt @@ -46,6 +46,7 @@ import java.util.concurrent.ThreadPoolExecutor import java.util.concurrent.TimeUnit import java.util.concurrent.atomic.AtomicBoolean +@Deprecated("Deprecated in favour of RootInstaller") class ServiceInstaller(context: Context) : InstallerBase(context) { private lateinit var serviceConnection: ServiceConnection diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index f9e577f55..8eb165c29 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -225,9 +225,9 @@ "Delete APK post-install" AM installer. Shizuku installer - "Native installer" + "Native installer (Deprecated)" "Root installer" - "Aurora Services" + "Aurora Services (Deprecated)" "Session installer" "Select mode of APK installation" "Installation method"