mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-21 19:55:33 -04:00
universal7885: Enable dt2w support
Signed-off-by: SamarV-121 <samarvispute121@gmail.com> Change-Id: I94472cb028204aee3ff8379f4638848a90698234
This commit is contained in:
parent
a13a3e7023
commit
d48312f054
2 changed files with 1 additions and 6 deletions
|
|
@ -137,11 +137,9 @@ Return<void> Power::setFeature(Feature feature __unused, bool activate __unused)
|
|||
initialize();
|
||||
}
|
||||
|
||||
#ifdef TAP_TO_WAKE_NODE
|
||||
if (feature == Feature::POWER_FEATURE_DOUBLE_TAP_TO_WAKE) {
|
||||
set(TAP_TO_WAKE_NODE, activate ? "1" : "0");
|
||||
set("/sys/class/sec/tsp/cmd", activate ? "aot_enable,1" : "aot_enable,0");
|
||||
}
|
||||
#endif
|
||||
|
||||
return Void();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue