1 2 3 4 5 6 7 8 9 10 11
|
a/frameworks/native/services/inputflinger/InputReader.cpp b/frameworks/native/services/inputflinger/InputReader.cpp index 10d35eb..730b733 100644 --- a/frameworks/native/services/inputflinger/InputReader.cpp +++ b/frameworks/native/services/inputflinger/InputReader.cpp @@ -2579,7 +2579,7 @@ void CursorInputMapper::sync(nsecs_t when) { // TODO: Use the input device configuration to control this behavior more finely. uint32_t policyFlags = 0; if ((buttonsPressed || moved || scrolled) && getDevice()->isExternal()) { - policyFlags |= POLICY_FLAG_WAKE; + //policyFlags |= POLICY_FLAG_WAKE; }
|
近期评论