dynamic_sensor: Add sensor manager init to sub-HAL 2.1.

Bug: 195964858
Test: Verified dynamic sensor manager is present in sensor list and that
 no SELinux violations occur.
Test: See details in testing done comment in
 https://googleplex-android-review.git.corp.google.com/15874906 .
Change-Id: I5d587dc46bdec66c3162bf222d36b285b8d2ca3d
This commit is contained in:
Erik Staats
2021-09-20 16:54:59 -07:00
parent 3482ca5bf7
commit c7038f8a78
3 changed files with 47 additions and 2 deletions

View File

@@ -28,7 +28,7 @@
#include <netinet/in.h>
#include <algorithm> //std::max
#define SYSPROP_PREFIX "dynamic_sensor.dummy"
#define SYSPROP_PREFIX "vendor.dynamic_sensor.mock"
#define FILE_NAME_BASE "dummy_accel_file"
#define FILE_NAME_REGEX ("^" FILE_NAME_BASE "[0-9]$")