Skip to content
Snippets Groups Projects
Commit 792be2a5 authored by Jin Qian's avatar Jin Qian Committed by android-build-merger
Browse files

Merge "storaged: allow register and callback from batteryproperties" am: ecd0a14e am: d2f5466e

am: 1253668c

Change-Id: Id76289f645be642ebd075d3decc679f247d81880
parents f4d72f50 1253668c
No related branches found
No related tags found
No related merge requests found
# type_transition must be private policy the domain_trans rules could stay # type_transition must be private policy the domain_trans rules could stay
# public, but conceptually should go with this # public, but conceptually should go with this
init_daemon_domain(healthd) init_daemon_domain(healthd)
# Allow callback to storaged batteryproperties listener
binder_call(healthd, storaged)
...@@ -29,6 +29,10 @@ add_service(storaged, storaged_service) ...@@ -29,6 +29,10 @@ add_service(storaged, storaged_service)
binder_use(storaged) binder_use(storaged)
binder_call(storaged, system_server) binder_call(storaged, system_server)
# use batteryproperties service
allow storaged batteryproperties_service:service_manager find;
binder_call(storaged, healthd)
### ###
### neverallow ### neverallow
### ###
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment