sm8450-common: Add hals.conf to load sensors.xiaomi to odm and move notifier to subdir

Change-Id: I9e16531e60fa6a0122330ee352cddd0840feb39c
This commit is contained in:
Arian
2024-08-24 15:44:29 +02:00
parent 3ff9b635fa
commit 3d232dc7ce
19 changed files with 4 additions and 0 deletions

View 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;
};