summaryrefslogtreecommitdiffstats
path: root/Power.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Power.cpp')
-rw-r--r--Power.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Power.cpp b/Power.cpp
index ebdc60a..2caeaca 100644
--- a/Power.cpp
+++ b/Power.cpp
@@ -33,6 +33,7 @@
#include <log/log.h>
#include "Power.h"
#include "power-common.h"
+#include "power-feature.h"
namespace android {
namespace hardware {
@@ -74,6 +75,7 @@ Return<void> Power::setFeature(Feature feature, bool activate) {
default:
break;
}
+ set_device_specific_feature(static_cast<feature_t>(feature), activate ? 1 : 0);
return Void();
}