库版本:v1.1.0
系统版本:Android 5.0.2 API 21
手机型号:小米 MI 2S
问题详情、异常提示:
Input dispatching timed out
ANR Input dispatching timed out (Waiting to send non-key event because the touched window has not finished processing certain input events that were delivered to it over 500.0ms ago. Wait queue length: 15. Wait queue head age: 5595.4ms.)
1 java.lang.Object.wait(Native Method)
2 java.lang.ProcessManager$ProcessImpl.waitFor(ProcessManager.java:296)
3 com.lahm.library.CommandUtil.exec(CommandUtil.java:53)
4 com.lahm.library.EmulatorCheckUtil.readSysProperty(EmulatorCheckUtil.java:71)
5 com.lahm.library.EasyProtectorLib.checkIsRunningInEmulator(EasyProtectorLib.java:66)
库版本:v1.1.0 系统版本:Android 5.0.2 API 21 手机型号:小米 MI 2S 问题详情、异常提示:
Input dispatching timed out
ANR Input dispatching timed out (Waiting to send non-key event because the touched window has not finished processing certain input events that were delivered to it over 500.0ms ago. Wait queue length: 15. Wait queue head age: 5595.4ms.) 1 java.lang.Object.wait(Native Method) 2 java.lang.ProcessManager$ProcessImpl.waitFor(ProcessManager.java:296) 3 com.lahm.library.CommandUtil.exec(CommandUtil.java:53) 4 com.lahm.library.EmulatorCheckUtil.readSysProperty(EmulatorCheckUtil.java:71) 5 com.lahm.library.EasyProtectorLib.checkIsRunningInEmulator(EasyProtectorLib.java:66)
app启动的时候,在application中进行初始化及检测 部分机型出现了一直卡检测的问题,卡在 process.waitFor() 处迟迟无法得到检测结果,目前还不清楚原因是什么 或许是装了非官方的rom,屏蔽掉了系统sh?
可否对 CommandUtil.exec() 增加一个超时中断功能?