Merge "fix healthd charger mode."
diff --git a/healthd.te b/healthd.te
index 02c7ba8..63efd05 100644
--- a/healthd.te
+++ b/healthd.te
@@ -14,3 +14,14 @@
binder_use(healthd)
binder_service(healthd)
binder_call(healthd, system_server)
+
+###
+### healthd: charger mode
+###
+
+allow healthd graphics_device:dir r_dir_perms;
+allow healthd graphics_device:chr_file rw_file_perms;
+allow healthd input_device:dir r_dir_perms;
+allow healthd input_device:chr_file r_file_perms;
+allow healthd ashmem_device:chr_file execute;
+allow healthd self:process execmem;