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,24 @@
/*
* Copyright (C) 2024 The LineageOS Project
*
* SPDX-License-Identifier: Apache-2.0
*/
#pragma once
#include <android-base/unique_fd.h>
#include "SensorNotifier.h"
class LightNotifier : public SensorNotifier {
public:
LightNotifier(sp<ISensorManager> manager);
~LightNotifier();
protected:
void notify();
private:
std::vector<int> mLightSensorsPrimary;
std::vector<int> mLightSensorsSecondary;
};