ServiceInstaller: Run post-installation steps on Aurora Services too

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
Aayush Gupta
2024-05-04 17:01:50 +05:30
parent f98c2ba5fd
commit 1b3554e695

View File

@@ -70,6 +70,7 @@ class ServiceInstaller(context: Context) : InstallerBase(context) {
}
override fun install(download: Download) {
super.install(download)
when {
isAlreadyQueued(download.packageName) -> {
@@ -240,6 +241,7 @@ class ServiceInstaller(context: Context) : InstallerBase(context) {
context.getString(R.string.installer_status_success)
)
)
onInstallationSuccess()
}
else -> {
val error = AppInstaller.getErrorString(