diff options
author | Nathan Kulczak <nathankulczak@google.com> | 2023-02-17 19:51:54 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2023-02-17 19:51:54 +0000 |
commit | 07dafeabe5ef508abe81ca3ffdf890d15f3ad1ed (patch) | |
tree | 51a77584224d0a8bc6c1aa014cc0f92be6f2e05b | |
parent | 123d4b9d0da346823782f853fa4b9440898af3df (diff) | |
parent | cc6e61d041eb3b26010a423d6d968f097c748611 (diff) | |
download | pixel-sepolicy-07dafeabe5ef508abe81ca3ffdf890d15f3ad1ed.tar.gz |
vibrator: allow servicemanager access to hal_vibrator_default am: 79f87c6207 am: 7470e4b35f am: cc6e61d041
Original change: https://android-review.googlesource.com/c/platform/hardware/google/pixel-sepolicy/+/2442099
Change-Id: If678e5f9b24a4d93343a496234c769eaa5c4a7c5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r-- | vibrator/cs40l25/hal_vibrator_default.te | 3 | ||||
-rw-r--r-- | vibrator/cs40l26/hal_vibrator_default.te | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/vibrator/cs40l25/hal_vibrator_default.te b/vibrator/cs40l25/hal_vibrator_default.te index 2dd1c65..81c2f3f 100644 --- a/vibrator/cs40l25/hal_vibrator_default.te +++ b/vibrator/cs40l25/hal_vibrator_default.te @@ -17,4 +17,5 @@ get_prop(hal_vibrator_default, vendor_vibrator_prop); vndbinder_use(hal_vibrator_default); # Allow Vibrator HAL to communicate with stats service -allow hal_vibrator_default fwk_stats_service:service_manager find;
\ No newline at end of file +allow hal_vibrator_default fwk_stats_service:service_manager find; +binder_use(hal_vibrator_default) diff --git a/vibrator/cs40l26/hal_vibrator_default.te b/vibrator/cs40l26/hal_vibrator_default.te index 478bee9..4fafe8a 100644 --- a/vibrator/cs40l26/hal_vibrator_default.te +++ b/vibrator/cs40l26/hal_vibrator_default.te @@ -17,3 +17,7 @@ get_prop(hal_vibrator_default, vendor_vibrator_prop); # Allow vibrator HAL's default implementation to use vendor-binder service vndbinder_use(hal_vibrator_default); + +# Allow Vibrator HAL to communicate with stats service +allow hal_vibrator_default fwk_stats_service:service_manager find; +binder_use(hal_vibrator_default) |