Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit f9d15561 authored by DaVinci9196's avatar DaVinci9196 Committed by GitHub
Browse files

Vending: Added return value (update.availability) (#3145)

parent 00b8c363
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -40,7 +40,7 @@ class DevTriggeredUpdateServiceImpl(private val context: Context, override val l
    override fun requestUpdateInfo(packageName: String?, bundle: Bundle?, callback: IAppUpdateServiceCallback?) {
        bundle?.keySet()
        Log.d(TAG, "requestUpdateInfo: packageName: $packageName bundle: $bundle")
        callback?.onUpdateResult(bundleOf("error.code" to 0))
        callback?.onUpdateResult(bundleOf("error.code" to 0, "update.availability" to 1))
    }

    override fun completeUpdate(packageName: String?, bundle: Bundle?, callback: IAppUpdateServiceCallback?) {