From e0c0285eb2f02c95cdc63d2bb9f9159f2ad8cadb Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Wed, 4 Dec 2019 23:42:44 +0100 Subject: [PATCH] Fix huawei touchscreen hal for treble app (used for glove mode) --- sepolicy/treble_app.te | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sepolicy/treble_app.te b/sepolicy/treble_app.te index e5832cb..a4e5ceb 100644 --- a/sepolicy/treble_app.te +++ b/sepolicy/treble_app.te @@ -19,3 +19,10 @@ allow system_app hal_fingerprint_default:binder { call }; allow system_app sysfs_power:dir r_dir_perms; allow system_app sysfs_power:file rw_file_perms; allow system_app sysfs_power:lnk_file read; + +type default_hisi_hwservice, hwservice_manager_type; +allow system_app default_hisi_hwservice:hwservice_manager { find }; + +type hal_tp_default, domain; +allow system_app hal_tp_default:binder { call }; +