We found uninput was not been generated. So shell.js cannot receive any of AVRCP media button key event.
This bug looks like related to JB + BlueZ.
I have helped to check bluez part. I found this is caused by /dev/uinput permission incorrect which cause bluez bluetoothd cannot open uinput device node. Again, Sam will help on submit patch to system/core/rootdir/ueventd.rc. Close this bug.
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
Note: /dev/uinput change to net_bt_stack
Summary: [flatfish][Bluetooth]AVRCP is not working due to uinput event was not been generated → [flatfish][Bluetooth][JB only]AVRCP is not working due to uinput event was not been generated
(In reply to Shawn Huang from comment #3) > Note: /dev/uinput change to net_bt_stack In this way we give the bluetooth file access to Bluetooth api of all. In JB, framework/base/data/etc/platform.xml defines <permission name="android.permission.BLUETOOTH_STACK" > <group gid="net_bt_stack" /> </permission> /dev/uinput group permission changes from bluetooth to net_bt_stack, because packages/apps/Bluetooth uses bluedroid library and it uses android.permission.BLUETOOTH_STACK So this is why JB changes permission.
You need to log in before you can comment on or make changes to this bug.