From a334f079ccaab052b95895fde13460ae6ab5a860 Mon Sep 17 00:00:00 2001 From: Christine Franks Date: Fri, 19 Mar 2021 15:31:20 -0700 Subject: [PATCH] Add uhid access for exo This is required to write input events to /dev/uinput. Bug: 182854143 Test: n/a Change-Id: Icd9714a61be62d40d1b3e5e9d7dcb33ce5f0bf6b --- ambient/exo_app.te | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ambient/exo_app.te b/ambient/exo_app.te index 941f09ae..f21b7cb2 100644 --- a/ambient/exo_app.te +++ b/ambient/exo_app.te @@ -12,6 +12,8 @@ allow exo_app fwk_stats_hwservice:hwservice_manager find; allow exo_app mediametrics_service:service_manager find; allow exo_app gpu_device:dir search; +allow exo_app uhid_device:chr_file rw_file_perms; + binder_call(exo_app, statsd) get_prop(exo_app, device_config_runtime_native_boot_prop)