aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/batterywarning.te
blob: d1f1062d2b1616a6ed574575d3517497d2f4a90f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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;