sm8450-common: Add hals.conf to load sensors.xiaomi to odm and move notifier to subdir
Change-Id: I9e16531e60fa6a0122330ee352cddd0840feb39c
This commit is contained in:
20
sensors/sensor-notifier/include/SensorNotifierExt.h
Normal file
20
sensors/sensor-notifier/include/SensorNotifierExt.h
Normal file
@@ -0,0 +1,20 @@
|
||||
/*
|
||||
* Copyright (C) 2024 The LineageOS Project
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <android/frameworks/sensorservice/1.0/ISensorManager.h>
|
||||
|
||||
#include "SensorNotifier.h"
|
||||
|
||||
using android::sp;
|
||||
using android::frameworks::sensorservice::V1_0::ISensorManager;
|
||||
|
||||
class SensorNotifierExt {
|
||||
public:
|
||||
SensorNotifierExt(sp<ISensorManager> manager);
|
||||
std::vector<std::unique_ptr<SensorNotifier>> mNotifiers;
|
||||
};
|
Reference in New Issue
Block a user