I see audio player has "exclusive" flag. This might be the reason why incoming call doesn't pre-empt audio player.
Thanks, Ning From: IVI [mailto:ivi-boun...@lists.tizen.org] On Behalf Of Jay D Bhatt Sent: Monday, October 27, 2014 3:01 PM To: ivi@lists.tizen.org Subject: Incoming call doesn't preempt audio player Hi, I am working on two applications: audio player and phone. I have made both applications resource aware applications. The Incoming call doesn't pre-empt audio player in below case: 1) Audio Player playing audio file 2) Incoming call comes, while the audio is playing. 3) Expected behaviour should be audio should be paused and call ringtone and communication on phone is established. But existing behaviour is audio is not paused, it mixes with call ringtone and even when the call communication is established. As per understanding both are using same audio_playback resource, so it should be released by audio player once acquired by phone application. Below is the murphy related properties for phone: murphyd[169]: I: Telephony resource-set configuration: murphyd[169]: I: zone: driver, class: phone, priority: 1 murphyd[169]: I: playback: mandatory shared audio_playback role:s:phone murphyd[169]: I: recording: mandatory exclusive audio_recording role:s:phone And below are the murphy related properties for audioplayer: murphyd[169]: resource-set flags:1 priority:0 class:'player' zone:'driver' murphyd[169]: resource: name:'audio_playback' mandatory exclusive murphyd[169]: attribute role:'music' murphyd[169]: attribute pid:'<unknown>' murphyd[169]: attribute policy:'relaxed' Is there anything wrong with the properties? Both have different priority and different application class, but as per murphy, call should pre-empt audio player. Can anybody help on this? Thanks, Jay ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Disclaimer~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Information contained and transmitted by this e-mail is confidential and proprietary to IGATE and its affiliates and is intended for use only by the recipient. If you are not the intended recipient, you are hereby notified that any dissemination, distribution, copying or use of this e-mail is strictly prohibited and you are requested to delete this e-mail immediately and notify the originator or mailad...@igate.com<mailto:mailad...@igate.com>. IGATE does not enter into any agreement with any party by e-mail. Any views expressed by an individual do not necessarily reflect the view of IGATE. IGATE is not responsible for the consequences of any actions taken on the basis of information provided, through this email. The contents of an attachment to this e-mail may contain software viruses, which could damage your own computer system. While IGATE has taken every reasonable precaution to minimise this risk, we cannot accept liability for any damage which you sustain as a result of software viruses. You should carry out your own virus checks before opening an attachment. To know more about IGATE please visit www.igate.com<http://www.igate.com>. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_______________________________________________ IVI mailing list IVI@lists.tizen.org https://lists.tizen.org/listinfo/ivi