LG8n: Hardcode the TAP_TO_WAKE_NODE into the libperfmgr extension

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
This commit is contained in:
Shirayuki39 2024-08-14 23:56:16 +08:00
parent 0c1d8f7a87
commit b3e2fcb171

View file

@ -18,6 +18,8 @@ namespace pixel {
using ::aidl::android::hardware::power::Mode; using ::aidl::android::hardware::power::Mode;
const std::string TAP_TO_WAKE_NODE = "/proc/gesture_function";
bool isDeviceSpecificModeSupported(Mode type, bool* _aidl_return) { bool isDeviceSpecificModeSupported(Mode type, bool* _aidl_return) {
switch (type) { switch (type) {
case Mode::DOUBLE_TAP_TO_WAKE: case Mode::DOUBLE_TAP_TO_WAKE: