Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a59f33bd authored by Yanye Li's avatar Yanye Li
Browse files

InputManagerInternal: Add API to set power/wakeup node

This can be used by other system service to set input device's
wakefulness from kernel sleep state when power policy changes.

DD: go/configure-al-kernel-wake
Bug: 372812925
Test: atest inputflinger_tests
Test: Plug in USB mouse with the set of changes:
      power/wakeup of mouse becomes enabled and it can wake
      up from "echo mem > /sys/power/state".
Flag: com.android.input.flags.set_input_device_kernel_wake

Change-Id: I2cc9e498c8f6b99f5dd00361f17df8cfd2b9d2cd
parent 24a5e6b6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment