commit | 01ba6834c10f5839371385b224a78c04e1351202 | [log] [tgz] |
---|---|---|
author | Paul Lawrence <paullawrence@google.com> | Wed Mar 19 14:41:00 2014 -0700 |
committer | Nick Kralevich <nnk@google.com> | Thu Mar 20 09:52:36 2014 -0700 |
tree | 9f621f3c8cbe8fc6f8fd6d61386ffb1c4261680e | |
parent | ee5ddb213ea5aabe1a67cefaf09263b5189bc7d1 [diff] |
Allow vold to call to healthd vold needs to be able to check remaining battery to safely abort certain operations Bug: 11985952 Change-Id: I7dfe83f7d1029593882e0e5ad33f90fb29e5532b
diff --git a/vold.te b/vold.te index d434b5e..cc70e8a 100644 --- a/vold.te +++ b/vold.te
@@ -80,3 +80,7 @@ # Handle wake locks (used for device encryption) allow vold sysfs_wake_lock:file rw_file_perms; allow vold self:capability2 block_suspend; + +# talk to batteryservice +binder_use(vold) +binder_call(vold, healthd)