mirror of
https://github.com/Evolution-X-Devices/device_google_wahoo
synced 2026-01-27 18:19:03 +00:00
Allow folio_daemon to write to /dev/uinput
Commit aosp/836840 changes permissions for accessing /dev/uinput. That broke the folio_daemon. This daemon is responsible for supportic magnetic folio cases on Pixel 2. We need to continue to support this operation. Allow the folio daemon to access /dev/uinput by enrolling it into the uhid group. Note: this is not an sepolicy issue, but a permission issue. Bug: 120306105 Test: adb logcat | grep uinput Before the change, see a bunch of permission denials from folio_daemon. After the change, not seeing anything in the logcat. Change-Id: Idb33c8427d55b165f5aca2a68c09fa7e749fef57
This commit is contained in:
@@ -497,7 +497,7 @@ service vendor.init-radio-sh /vendor/bin/init.radio.sh
|
||||
service vendor.folio_daemon /system/bin/folio_daemon
|
||||
class late_start
|
||||
user system
|
||||
group system
|
||||
group system uhid
|
||||
disabled
|
||||
|
||||
on property:init.svc.zygote=running
|
||||
|
||||
Reference in New Issue
Block a user