1typeattribute charger coredomain; 2 3# charger needs to tell init to continue the boot 4# process when running in charger mode. 5set_prop(charger, system_prop) 6set_prop(charger, exported_system_prop) 7set_prop(charger, exported3_system_prop) 8set_prop(charger, charger_status_prop) 9 10get_prop(charger, charger_prop) 11get_prop(charger, charger_config_prop) 12 13# get minui properties 14get_prop(charger, recovery_config_prop) 15 16compatible_property_only(` 17 neverallow { 18 domain 19 -init 20 -dumpstate 21 -charger 22 } charger_prop:file no_rw_file_perms; 23') 24 25neverallow { 26 domain 27 -init 28 -dumpstate 29 -vendor_init 30 -charger 31} { charger_config_prop charger_status_prop }:file no_rw_file_perms; 32