OSDN Git Service

Adding 'uhid' permission for bluetooth stack.
authorSiarhei Vishniakou <svv@google.com>
Mon, 8 May 2017 22:42:14 +0000 (15:42 -0700)
committerSiarhei Vishniakou <svv@google.com>
Thu, 11 May 2017 01:35:25 +0000 (01:35 +0000)
This CL is in support of another CL c/2048848, topic
'Refactor hid command in /frameworks/base/cmds'
in internal master. Adding the permissions for bluetooth
devices here to access uhid_node as part of the new 'uhid'
group.

Bug: 34052337
Test: Tested on angler, bluetooth mouse works OK.

Change-Id: I63963984a0a3dccb4fccc64bb6fef4e809e2737e

data/etc/platform.xml

index e46f166..ae0c8a0 100644 (file)
@@ -45,6 +45,7 @@
     <permission name="android.permission.BLUETOOTH_STACK" >
         <group gid="bluetooth" />
         <group gid="wakelock" />
+        <group gid="uhid" />
     </permission>
 
     <permission name="android.permission.NET_TUNNELING" >