From e42843f4add7342ee8923f11f21a4a3a2589ddaa Mon Sep 17 00:00:00 2001 From: Brian Stack Date: Thu, 7 Feb 2019 10:42:28 -0800 Subject: [PATCH] Rename Sensors 2.0 Default Implementation Rename the default implementation to include ".mock" to indicate that the default implementation is a mock service and not intended to be used on production devices. Bug: 124020028 Test: Builds, cuttlefish loads sensors Change-Id: I28c29f23615324cb2ae1dbe1767f18d40cf8d8e1 --- sensors/2.0/default/Android.bp | 2 +- sensors/2.0/default/android.hardware.sensors@2.0-service.rc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sensors/2.0/default/Android.bp b/sensors/2.0/default/Android.bp index d83a9c36fe..d05634b77a 100644 --- a/sensors/2.0/default/Android.bp +++ b/sensors/2.0/default/Android.bp @@ -14,7 +14,7 @@ // limitations under the License. cc_binary { - name: "android.hardware.sensors@2.0-service", + name: "android.hardware.sensors@2.0-service.mock", defaults: ["hidl_defaults"], vendor: true, relative_install_path: "hw", diff --git a/sensors/2.0/default/android.hardware.sensors@2.0-service.rc b/sensors/2.0/default/android.hardware.sensors@2.0-service.rc index 321d760b0d..1fee4f262e 100644 --- a/sensors/2.0/default/android.hardware.sensors@2.0-service.rc +++ b/sensors/2.0/default/android.hardware.sensors@2.0-service.rc @@ -1,4 +1,4 @@ -service vendor.sensors-hal-2-0 /vendor/bin/hw/android.hardware.sensors@2.0-service +service vendor.sensors-hal-2-0-mock /vendor/bin/hw/android.hardware.sensors@2.0-service.mock class hal user system group system