support background job in certain sense

Bug #1497863 reported by Yuan-Chen Cheng
30
This bug affects 7 people
Affects Status Importance Assigned to Milestone
ubuntu-application-lifecycle
New
Undecided
Unassigned

Bug Description

one use cases I know need background job:

1. play DRM music by app like Spotify.

Revision history for this message
Michał Karnicki (karni) wrote :

Also supporting things that may not necessarily end before the app is stopped when in background. For instance, currently when you start sending a picture on Telegram, you'll interrupt the process if you switch the app away from foreground.

Revision history for this message
Yuan-Chen Cheng (ycheng-twn) wrote :

[Simon Fels said]
It would be just another executable your click package would ship and would be exposed to media-hub at runtime by .json file in a common directory (generated through a click-hook). This .json file then knows the combination of url scheme (e.g spotify://) to excutable name (below your app directory) and that is what media-hub needs to know - no hard dependency, no distribution in the core OS.

This is similar to how we handle helpers for the Ubuntu Push client side implementation (see https://developer.ubuntu.com/en/start/platform/guides/push-notifications-client-guide/).

For sure, there need to be some guards set around this executable in terms of security (our apparmor profiles) and also resource usage.

affects: canonical-devices-system-image → ubuntu-application-lifecycle
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.