From 85c4ad2351eb34fd7feba60f3aaa2d8ca77cdeec Mon Sep 17 00:00:00 2001 From: Arthur Ishiguro Date: Tue, 25 Feb 2020 07:53:46 -0800 Subject: [PATCH] Starts default Context Hub HAL in context_hub group Also adds group to default sensors HAL. Bug: 149981913 Test: Compile Change-Id: Ib9178dd9ad0a92821cfebe82f09e8819b42a42f7 --- .../1.0/default/android.hardware.contexthub@1.0-service.rc | 4 ++-- .../1.1/default/android.hardware.contexthub@1.1-service.rc | 4 ++-- sensors/1.0/default/android.hardware.sensors@1.0-service.rc | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/contexthub/1.0/default/android.hardware.contexthub@1.0-service.rc b/contexthub/1.0/default/android.hardware.contexthub@1.0-service.rc index b659be8098..fc2893f071 100644 --- a/contexthub/1.0/default/android.hardware.contexthub@1.0-service.rc +++ b/contexthub/1.0/default/android.hardware.contexthub@1.0-service.rc @@ -1,5 +1,5 @@ service vendor.contexthub-hal-1-0 /vendor/bin/hw/android.hardware.contexthub@1.0-service interface android.hardware.contexthub@1.0::IContexthub default class hal - user system - group system + user context_hub + group context_hub diff --git a/contexthub/1.1/default/android.hardware.contexthub@1.1-service.rc b/contexthub/1.1/default/android.hardware.contexthub@1.1-service.rc index 9db00f9bf0..b00b1bd142 100644 --- a/contexthub/1.1/default/android.hardware.contexthub@1.1-service.rc +++ b/contexthub/1.1/default/android.hardware.contexthub@1.1-service.rc @@ -2,5 +2,5 @@ service vendor.contexthub-hal-1-1-mock /vendor/bin/hw/android.hardware.contexthu interface android.hardware.contexthub@1.0::IContexthub default interface android.hardware.contexthub@1.1::IContexthub default class hal - user system - group system + user context_hub + group context_hub diff --git a/sensors/1.0/default/android.hardware.sensors@1.0-service.rc b/sensors/1.0/default/android.hardware.sensors@1.0-service.rc index b41730b942..1af6d0b08c 100644 --- a/sensors/1.0/default/android.hardware.sensors@1.0-service.rc +++ b/sensors/1.0/default/android.hardware.sensors@1.0-service.rc @@ -2,6 +2,6 @@ service vendor.sensors-hal-1-0 /vendor/bin/hw/android.hardware.sensors@1.0-servi interface android.hardware.sensors@1.0::ISensors default class hal user system - group system wakelock uhid + group system wakelock uhid context_hub capabilities BLOCK_SUSPEND rlimit rtprio 10 10