From 1b3554e6958c549b2ed4aa7672ad2ccde6c12faf Mon Sep 17 00:00:00 2001 From: Aayush Gupta Date: Sat, 4 May 2024 17:01:50 +0530 Subject: [PATCH] ServiceInstaller: Run post-installation steps on Aurora Services too Signed-off-by: Aayush Gupta --- .../java/com/aurora/store/data/installer/ServiceInstaller.kt | 2 ++ 1 file changed, 2 insertions(+) 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 0943cd423..833e3490c 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 @@ -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(