mirror of
https://github.com/Anything-at-25-00/android_device_tecno_LG8n.git
synced 2024-11-26 15:36:26 -08:00
LG8n: powerhint: Add DT2W
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
This commit is contained in:
parent
8db8995f19
commit
96d2a24a81
|
@ -143,7 +143,7 @@ TARGET_BOARD_PLATFORM := mt6789
|
||||||
BOARD_HAS_MTK_HARDWARE := true
|
BOARD_HAS_MTK_HARDWARE := true
|
||||||
|
|
||||||
# Power
|
# Power
|
||||||
TARGET_TAP_TO_WAKE_NODE := /proc/gesture_function
|
TARGET_TAP_TO_WAKE_NODE :=
|
||||||
TARGET_POWERHAL_MODE_EXT := $(DEVICE_PATH)/power/power-mode.cpp
|
TARGET_POWERHAL_MODE_EXT := $(DEVICE_PATH)/power/power-mode.cpp
|
||||||
|
|
||||||
# Properties
|
# Properties
|
||||||
|
|
|
@ -185,6 +185,16 @@
|
||||||
"Path": "vendor.mediatek.powerhal.rendering",
|
"Path": "vendor.mediatek.powerhal.rendering",
|
||||||
"Values": ["EXPENSIVE_RENDERING", ""],
|
"Values": ["EXPENSIVE_RENDERING", ""],
|
||||||
"Type": "Property"
|
"Type": "Property"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "DoubleTapToWake",
|
||||||
|
"Path": "/proc/gesture_function",
|
||||||
|
"Values": [
|
||||||
|
"0",
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
"DefaultIndex": 0,
|
||||||
|
"ResetOnInit": true
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Actions": [
|
"Actions": [
|
||||||
|
@ -325,6 +335,12 @@
|
||||||
"Node": "GPUBlockBoost",
|
"Node": "GPUBlockBoost",
|
||||||
"Duration": 0,
|
"Duration": 0,
|
||||||
"Value": "50"
|
"Value": "50"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "DOUBLE_TAP_TO_WAKE",
|
||||||
|
"Node": "DoubleTapToWake",
|
||||||
|
"Duration": 0,
|
||||||
|
"Value": "1"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue