Replied to Julien and Jonas inline,

Julien Wajsberg <[email protected]> 於 2013/9/17 下午5:04 寫道:
> ok, I was thinking of 3rd party apps and not certified apps.
> 
> I don't know much about how audio channel work so I guess I should have 
> stayed silent ;)
Never mind, audio channel system is a little complex.
We could define permission for different HW keys but IMO it's ir-relavant to 
audio channel.

But this reminds me something..

Jonas Sicking <[email protected]> 於 2013/9/17 上午10:10 寫道:

> For home and sleep buttons we should absolutely not allow applications to 
> cancel the default behavior of the button. In fact, for those two I don't 
> even see a need to dispatch key events at all. Are there?

Jonas, I am thinking that if we could dispatch hardware button event directly 
via key{down,press,up}  to system app,
we could remove the mozChromeEvent hack now used to dispatch HW button events, 
and then let system app using home/power event directly. I recalled that we 
would love to remove 'mozChromeEvent' usage as most as possible. And this is 
one of the massive mozChomeEvent we're using now.

For sure we still need to forbid user app overriding these 2 buttons.

Thought?
--
Alive C. Kuo, Front-end Engineer, FirefoxOS, MoCo. Taiwan, Taipei office.
[email protected]




_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to