mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-21 19:55:33 -04:00
universal7885: switch to using AOD DT2W
Samsung touchscreens support using double-tap to wake to trigger
always on display. Implement support for the sysfs API used to
en/disable this. Note that this requires a kernel change to send
KEY_POWER on the dt2w event instead of KEY_BLACK_UI_GESTURE - e.g.
b783d5e0fd
[Linux4: This makes DT2W work on full screen instead of only lower half]
Change-Id: I80898c8810216a90cc11b4e8b0f12a1918cd17a3
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
This commit is contained in:
parent
cbd2a71413
commit
e20d70740a
1 changed files with 3 additions and 3 deletions
|
|
@ -43,8 +43,8 @@
|
|||
"Name": "DoubleTapToWakeEnable",
|
||||
"Path": "/sys/class/sec/tsp/cmd",
|
||||
"Values": [
|
||||
"aot_enable,0",
|
||||
"aot_enable,1"
|
||||
"aod_enable,0",
|
||||
"set_aod_rect,720,1560,0,0",
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"ResetOnInit": false
|
||||
|
|
@ -113,7 +113,7 @@
|
|||
"PowerHint": "DOUBLE_TAP_TO_WAKE",
|
||||
"Node": "DoubleTapToWakeEnable",
|
||||
"Duration": 0,
|
||||
"Value": "aot_enable,1"
|
||||
"Value": "set_aod_rect,720,1560,0,0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "AUDIO_STREAMING_LOW_LATENCY",
|
||||
|
|
|
|||
Loading…
Reference in a new issue