Explicity mark {Native|Service}Installer as deprecated

* Both should be removed in near future to avoid maintainence burden

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
Aayush Gupta
2023-11-22 16:37:17 +05:30
parent b8a1495726
commit 59d7f2720b
3 changed files with 4 additions and 2 deletions

View File

@@ -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<Any>) {

View File

@@ -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

View File

@@ -225,9 +225,9 @@
<string name="pref_install_delete_title">"Delete APK post-install"</string>
<string name="pref_install_mode_am">AM installer.</string>
<string name="pref_install_mode_shizuku">Shizuku installer</string>
<string name="pref_install_mode_native">"Native installer"</string>
<string name="pref_install_mode_native">"Native installer (Deprecated)"</string>
<string name="pref_install_mode_root">"Root installer"</string>
<string name="pref_install_mode_services">"Aurora Services"</string>
<string name="pref_install_mode_services">"Aurora Services (Deprecated)"</string>
<string name="pref_install_mode_session">"Session installer"</string>
<string name="pref_install_mode_summary">"Select mode of APK installation"</string>
<string name="pref_install_mode_title">"Installation method"</string>