mirror of
https://github.com/Anything-at-25-00/android_device_tecno_LG8n.git
synced 2024-11-22 05:46:25 -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
0c1d8f7a87
commit
b3e2fcb171
|
@ -18,6 +18,8 @@ namespace pixel {
|
|||
|
||||
using ::aidl::android::hardware::power::Mode;
|
||||
|
||||
const std::string TAP_TO_WAKE_NODE = "/proc/gesture_function";
|
||||
|
||||
bool isDeviceSpecificModeSupported(Mode type, bool* _aidl_return) {
|
||||
switch (type) {
|
||||
case Mode::DOUBLE_TAP_TO_WAKE:
|
||||
|
|
Loading…
Reference in a new issue