sm8450-common: sensors: Convert nonui notifier into a generalized sensor based notifier

Change-Id: I34b9861341f4f033185fdbd066b46d779dd95cfa
This commit is contained in:
Arian
2024-07-27 15:11:24 +02:00
parent 091825992f
commit 2f0a1200a2
17 changed files with 430 additions and 199 deletions

View File

@@ -0,0 +1,18 @@
/*
* Copyright (C) 2024 The LineageOS Project
*
* SPDX-License-Identifier: Apache-2.0
*/
#pragma once
#include "SensorNotifier.h"
class NonUiNotifier : public SensorNotifier {
public:
NonUiNotifier(sp<ISensorManager> manager);
~NonUiNotifier();
protected:
void notify();
};