Comment 6 for bug 1341548

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Confined apps are not allowed to manipulate the network session, no. They should be able to determine whether they are online or not, and whether they are on a potentially expensive connection or not. This is currently done by looking at ofono and network-manager APIs, but allowing these to confined apps would constitute a privacy concern (ie, bug #1226844).

A new connectivity API is supposed to be implemented and the connectivity policy group will allow use of this API. This connectivity API I think is only newly implemented and I don't know if you'll have to change your code to use it or if you can continue using the API you are and the underlying system libraries will be adjusted to use the new connectivity API.