mirror of
https://github.com/Anything-at-25-00/android_device_tecno_LG8n.git
synced 2024-11-29 00:46:26 -08:00
LG8n: Hardcode the TAP_TO_WAKE_NODE into the libperfmgr extension
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
This commit is contained in:
parent
b7e84f207c
commit
d9b71c9d8b
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue