From ad0075acd630b3594dbc2eb98944da049f074ba9 Mon Sep 17 00:00:00 2001 From: Matthew Sedam Date: Mon, 2 Oct 2023 20:52:36 +0000 Subject: [PATCH] Allow CHRE to access the IStats service for the zuma target Bug: 298459533 Test: Use stats service from chre Change-Id: Ie4c9a24d3cd331621136c7c21989685631d87519 --- vendor/chre.te | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vendor/chre.te b/vendor/chre.te index 081da089..31f61127 100644 --- a/vendor/chre.te +++ b/vendor/chre.te @@ -18,3 +18,7 @@ allow chre device:dir r_dir_perms; # Allow CHRE to use WakeLock wakelock_use(chre) + +# Allow CHRE host to talk to stats service +allow chre fwk_stats_service:service_manager find; +binder_call(chre, stats_service_server)