ServiceInstaller: Run post-installation steps on Aurora Services too
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
@@ -70,6 +70,7 @@ class ServiceInstaller(context: Context) : InstallerBase(context) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
override fun install(download: Download) {
|
override fun install(download: Download) {
|
||||||
|
super.install(download)
|
||||||
|
|
||||||
when {
|
when {
|
||||||
isAlreadyQueued(download.packageName) -> {
|
isAlreadyQueued(download.packageName) -> {
|
||||||
@@ -240,6 +241,7 @@ class ServiceInstaller(context: Context) : InstallerBase(context) {
|
|||||||
context.getString(R.string.installer_status_success)
|
context.getString(R.string.installer_status_success)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
onInstallationSuccess()
|
||||||
}
|
}
|
||||||
else -> {
|
else -> {
|
||||||
val error = AppInstaller.getErrorString(
|
val error = AppInstaller.getErrorString(
|
||||||
|
|||||||
Reference in New Issue
Block a user