系统进入待机状态,鼠标滑动不唤醒,点击右键唤醒
frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
PhoneWindowManager.java中的interceptMotionBeforeQueueingWhenScreenOff(int policyFlags):
// Otherwise, wake the device ourselves.
//result |= ACTION_POKE_USER_ACTIVITY; 注释掉,直接返回0即可
result = 0;
frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
PhoneWindowManager.java中的interceptMotionBeforeQueueingWhenScreenOff(int policyFlags):
// Otherwise, wake the device ourselves.
//result |= ACTION_POKE_USER_ACTIVITY; 注释掉,直接返回0即可
result = 0;