From 11994a8ca086327a309ee3412b109a6d95b78711 Mon Sep 17 00:00:00 2001 From: Shiyong Li Date: Tue, 16 Nov 2021 21:52:44 +0000 Subject: [PATCH] allow systemui to toggle display lhbm node Fix the following selinux violation: avc: denied { call } for scontext=u:r:platform_app:s0:c512,c768 tcontext=u:r:hal_graphics_composer_default:s0 tclass=binder permissive=1 app=com.android.systemui Bug: 205640231 Test: check avc logs while using udfps Signed-off-by: Shiyong Li Change-Id: I196ade950541d56affd3dc38568b0275f159c799 --- whitechapel_pro/platform_app.te | 3 +++ 1 file changed, 3 insertions(+) diff --git a/whitechapel_pro/platform_app.te b/whitechapel_pro/platform_app.te index 298ff8fd..4fc6b9fc 100644 --- a/whitechapel_pro/platform_app.te +++ b/whitechapel_pro/platform_app.te @@ -8,3 +8,6 @@ get_prop(platform_app, fingerprint_ghbm_prop) set_prop(platform_app, bootanim_system_prop); binder_call(platform_app, hal_wlc) + +# allow udfps of systemui access lhbm +binder_call(platform_app, hal_graphics_composer_default)