Thanks Tukka . I have aa few questions about policy unaware apps:
If the apps don't ask for the permission (policy unaware apps), they are all going to be treated as media players. In this case, how can they know if they are granted the permission to use a particular resource set? For instance let's assume a policy-unaware Android app wants to play audio through the speakers while the speakers are already in use by a higher priority app. In this case the policy framework denies the permission; how does the policy unaware app get notified? Is there a way to give different priorities to policy-unaware apps? For example, an phone call should have higher priority over the audio player. What happens if a policy-unaware app wants to record audio? I guess that is not going to be possible, since all policy unaware apps are treated as media players by the policy framework. ________________________________ From: meego-dev-boun...@meego.com [mailto:meego-dev-boun...@meego.com] On Behalf Of Tuukka Mäkinen Sent: Thursday, September 22, 2011 6:40 PM To: meego-dev@meego.com Subject: Re: [MeeGo-dev] Audio policy -- Adding one's own resource class On 09/22/11 15:44, nimesh.chanch...@accenture.com<mailto:nimesh.chanch...@accenture.com> wrote: Hi guys, I want to add my own resource class and alter the priorities of the existing ones. Can anyone suggest a starting point or a pointer? Regards, Nimesh Policy settings are in the package policy-settings-basic-{platform} package. That package contains policy rules (in prolog) and some settings files. Looking into settings package for N900 resource classes appear to be defined in resource_classes.pl. It would be interesting to see what could be done with policy framework but unfortunately I haven't quite grasped prolog. Tuukka Mäkinen ________________________________ This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.
_______________________________________________ MeeGo-dev mailing list MeeGo-dev@meego.com http://lists.meego.com/listinfo/meego-dev http://wiki.meego.com/Mailing_list_guidelines