c3c52ae329
Bug: 167636754 Test: on a device that has triggers configured for this property Test: adb shell setprop power.battery_input.suspended true to disable charging Test: adb shell setprop power.battery_input.suspended false to reenable charging Merged-In: I79209530d5355a59a1cb7a61c629339cd62f8eb1 Change-Id: I4692d84d5c137d11c6f648d15083614e707fdd07
16 lines
417 B
Text
16 lines
417 B
Text
#
|
|
# System Server aka system_server spawned by zygote.
|
|
# Most of the framework services run in this process.
|
|
#
|
|
type system_server, domain;
|
|
type system_server_tmpfs, file_type, mlstrustedobject;
|
|
|
|
# Power controls for debugging/diagnostics
|
|
get_prop(system_server, power_debug_prop)
|
|
set_prop(system_server, power_debug_prop)
|
|
|
|
neverallow {
|
|
-init
|
|
-vendor_init
|
|
-system_server
|
|
} power_debug_prop:property_service set;
|