aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/batterywarning.te
diff options
context:
space:
mode:
authorMister Oyster <oysterized@gmail.com>2017-01-02 12:44:35 +0100
committerMister Oyster <oysterized@gmail.com>2017-01-02 12:44:35 +0100
commita184d985bf43d3fe6eeba971bc6b32f79ea38b37 (patch)
tree6f6e56e090777cc149bc1ab39e5987cc2b03e867 /sepolicy/batterywarning.te
initial releasecm-13.0
Diffstat (limited to 'sepolicy/batterywarning.te')
-rw-r--r--sepolicy/batterywarning.te34
1 files changed, 34 insertions, 0 deletions
diff --git a/sepolicy/batterywarning.te b/sepolicy/batterywarning.te
new file mode 100644
index 0000000..d1f1062
--- /dev/null
+++ b/sepolicy/batterywarning.te
@@ -0,0 +1,34 @@
+# ==============================================
+# Policy File of /system/binbatterywarning Executable File
+
+
+# ==============================================
+# Type Declaration
+# ==============================================
+
+type batterywarning_exec , exec_type, file_type;
+type batterywarning ,domain;
+
+# ==============================================
+# Android Policy Rule
+# ==============================================
+
+# ==============================================
+# NSA Policy Rule
+# ==============================================
+
+# ==============================================
+# MTK Policy Rule
+# ==============================================
+
+init_daemon_domain(batterywarning)
+
+# Date : 2014/10/15
+# Operation : Migration
+# Purpose : all Binder IPC for battery warning to call IActivityManager to send broadcast
+binder_use(batterywarning)
+
+# Date : 2014/10/16
+# Operation : Migration
+# Purpose : allow battery warning use AMS to send broadcast through binder call
+allow batterywarning system_server:binder call;