sepolicy: Label stub mtkpower service
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Change-Id: I1d3d6be0cbd2bcc73e4654ec4b58f68473f9af7f
diff --git a/basic/non_plat/file_contexts b/basic/non_plat/file_contexts
index bd745a7..fee8755 100644
--- a/basic/non_plat/file_contexts
+++ b/basic/non_plat/file_contexts
@@ -984,3 +984,6 @@
# Date: 2021/09/26
# Purpose: Add permission for vilte
/dev/ccci_vts u:object_r:ccci_vts_device:s0
+
+# Power
+/(vendor|system/vendor)/bin/hw/vendor\.mediatek\.hardware\.mtkpower@1\.2-service\.stub u:object_r:mtk_hal_power_exec:s0