Skip to content
Snippets Groups Projects
Commit 61670b86 authored by Jin Qian's avatar Jin Qian
Browse files

storaged: allow register and callback from batteryproperties

Test: adb shell dumpsys storaged
Bug: 33086174
Bug: 34198239
Change-Id: I85d6bd05192a205662f69466d7d6208e8b834eff
parent 5470aefb
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.
Finish editing this message first!
Please register or to comment