summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Power.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Power.cpp b/Power.cpp
index ba8af81..4f0d757 100644
--- a/Power.cpp
+++ b/Power.cpp
@@ -71,7 +71,7 @@ Return<void> Power::setFeature(Feature feature, bool activate) {
switch (feature) {
#ifdef TAP_TO_WAKE_NODE
case Feature::POWER_FEATURE_DOUBLE_TAP_TO_WAKE:
- ::android::base::WriteStringToFile(activate ? "1" : "0", TAP_TO_WAKE_NODE);
+ ::android::base::WriteStringToFile(activate ? "1" : "0", TAP_TO_WAKE_NODE, true);
break;
#endif
default: