0

我开始注意到我正在测试的一台设备上的一个问题,在该设备上按住电源按钮将永远不会显示允许我关闭设备的对话框。

当我按住电源按钮时,这会一遍又一遍地向日志输出发送垃圾邮件,速度似乎尽可能快:

10-27 11:07:31.853: INFO/InputDispatcher(149): Delivering key to current input target: keycode: 26, scancode: 116, action: 0, channel '408013a8 com.android.launcher/com.android.launcher2.Launcher (server)'
10-27 11:07:31.893: INFO/InputDispatcher(149): Delivering key to current input target: keycode: 26, scancode: 116, action: 0, channel '408013a8 com.android.launcher/com.android.launcher2.Launcher (server)'
10-27 11:07:31.943: INFO/InputDispatcher(149): Delivering key to current input target: keycode: 26, scancode: 116, action: 0, channel '408013a8 com.android.launcher/com.android.launcher2.Launcher (server)'
10-27 11:07:31.993: INFO/InputDispatcher(149): Delivering key to current input target: keycode: 26, scancode: 116, action: 0, channel '408013a8 com.android.launcher/com.android.launcher2.Launcher (server)'
10-27 11:07:32.043: INFO/InputDispatcher(149): Delivering key to current input target: keycode: 26, scancode: 116, action: 0, channel '408013a8 com.android.launcher/com.android.launcher2.Launcher (server)'

一旦我松开电源按钮,这些垃圾日志就会停止并且屏幕关闭,但设备只是处于睡眠模式(好像我根本没有保持电源,而是只是按下并释放)

这不是 100% 一致的,但我没有注意到导致它的任何类型的模式或原因/结果。

有没有其他人遇到过类似的事情?

4

0 回答 0