← Back to team overview

ubuntu-phone team mailing list archive

Re: Ubuntu Download Manager broken since #213

 

On Mar 06, 2014, at 02:13 PM, Alejandro J. Cura wrote:

>So, while the updates are downloading, how is s-i kept alive if the
>user switches to other apps? Is it somehow escaping the app lifecycle?

Yes, because s-i isn't an app.  It's a system bus service itself which is
invoked by system settings via D-Bus activation.  (It actually starts a u-d-m
instance on the system bus too.)

>Also, is there a reason for that? For the scope there is no reason, so
>I think it's better for it to die and free the ram.

Yes, because s-i is the mediator between the ui (i.e. system-settings) and
udm.  It actually makes several group download calls to udm in order to
perform and validate a system update.

But you say the scope has no reason to stay alive.  Wouldn't "responding to
the 'finish' signal" be a good reason?

-Barry

Attachment: signature.asc
Description: PGP signature


Follow ups

References