sm8450-common: sensors: Add aod notifier
Change-Id: I2ba35d7b7db4e6922d83f041497fe66bf52124cb
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user