Fix sepolicy for vsoc_input_service

Change-Id: I8a8e502fafafc4aa687f8bc6e308ed6892d20e58
diff --git a/shared/config/init.vsoc.rc b/shared/config/init.vsoc.rc
index 06710f5..2b1e1fc 100644
--- a/shared/config/init.vsoc.rc
+++ b/shared/config/init.vsoc.rc
@@ -110,6 +110,7 @@
 
 
 service vsoc_input_service /vendor/bin/vsoc_input_service
+    group root uhid
     oneshot
 
 
diff --git a/shared/sepolicy/vsoc_input_service.te b/shared/sepolicy/vsoc_input_service.te
index 0ff170b..b45d61c 100644
--- a/shared/sepolicy/vsoc_input_service.te
+++ b/shared/sepolicy/vsoc_input_service.te
@@ -9,4 +9,4 @@
 # Framebuffer I/O (needed to obtain the screen size)
 allow vsoc_input_service region_screen_device:chr_file rw_file_perms;
 
-allow vsoc_input_service input_events_device:chr_file r_file_perms;
+allow vsoc_input_service input_events_device:chr_file rw_file_perms;