diff options
author | LuK1337 <priv.luk@gmail.com> | 2019-12-07 23:51:29 +0100 |
---|---|---|
committer | LuK1337 <priv.luk@gmail.com> | 2019-12-07 23:54:35 +0100 |
commit | 0db671a26287909fd2a866bcac07268bfb696d22 (patch) | |
tree | e6f31880f6cf56975cdbc3aa929ee37725343dee /Power.cpp | |
parent | 6e8e0911dbd5e75e9931c5e175e19daf5f35bf61 (diff) | |
download | vendor_qcom_opensource_power-lineage-17.0.tar.gz vendor_qcom_opensource_power-lineage-17.0.tar.bz2 vendor_qcom_opensource_power-lineage-17.0.zip |
power: Follow symlinks when writing to dt2w toggle pathlineage-17.0
* Some devices tend to symlink touchpanel related toggles
to common path due to having to deal with different panels.
Change-Id: I429e4c5acfbcd3ff26a019f919fbe880692160bd
Diffstat (limited to 'Power.cpp')
-rw-r--r-- | Power.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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: |