From b969be2277027f1e13ce6581c11e188ce56b4bb5 Mon Sep 17 00:00:00 2001 From: Lei Ju Date: Tue, 26 Jul 2022 13:51:21 -0700 Subject: [PATCH] Allow chre to use WakeLock on whitechapel pro. Test: Manual test to confirm wakelock is acquired. Bug: 202447392 Change-Id: Iecd3aca411b43abed4c318e9e584b6713ca119a8 --- whitechapel_pro/chre.te | 3 +++ 1 file changed, 3 insertions(+) diff --git a/whitechapel_pro/chre.te b/whitechapel_pro/chre.te index 6d826217..4eda4096 100644 --- a/whitechapel_pro/chre.te +++ b/whitechapel_pro/chre.te @@ -22,3 +22,6 @@ allow chre hal_wifi_ext_hwservice:hwservice_manager find; # Allow CHRE host to talk to stats service allow chre fwk_stats_service:service_manager find; binder_call(chre, stats_service_server) + +# Allow CHRE to use WakeLock +wakelock_use(chre)