35 lines
1.0 KiB
Plaintext
Executable File
35 lines
1.0 KiB
Plaintext
Executable File
# ==============================================
|
|
# 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;
|