sm8450-common: sensors: Add aod notifier

Change-Id: I2ba35d7b7db4e6922d83f041497fe66bf52124cb
This commit is contained in:
Arian
2024-07-27 16:06:00 +02:00
parent 2f0a1200a2
commit 9148fcdc2c
7 changed files with 180 additions and 0 deletions

View File

@@ -10,6 +10,7 @@
#include <android-base/properties.h>
#include "SensorNotifierExt.h"
#include "notifiers/AodNotifier.h"
#include "notifiers/NonUiNotifier.h"
int main() {
@@ -20,6 +21,7 @@ int main() {
}
std::vector<std::unique_ptr<SensorNotifier>> notifiers;
notifiers.push_back(std::make_unique<AodNotifier>(manager));
notifiers.push_back(std::make_unique<NonUiNotifier>(manager));
for (const auto& notifier : notifiers) {
notifier->activate();