2

Android Keyguard 已创建,一切似乎都正常工作但随机(几乎不可能重现),设备认为它已锁定但 Keyguard 窗口未显示。我在日志中看到的唯一异常是下面的 IllegalArgumentException。有谁知道为什么会发生这种情况,从哪里开始投资这个失败的根本原因或如何补救?

00717 11-14 14:33:47.851   479   540 WRN WindowManager: Failed looking up window
00717 11-14 14:33:47.851   479   540 WRN WindowManager: java.lang.IllegalArgumentException: Requested window android.view.ViewRootImpl$W@413f34b0 is in session Session{413f2350 uid 1000}, not Session{416fb2f0 uid 1000}
00717 11-14 14:33:47.851   479   540 WRN WindowManager:     at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:7444)
00717 11-14 14:33:47.851   479   540 WRN WindowManager:     at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:7426)
00717 11-14 14:33:47.851   479   540 WRN WindowManager:     at com.android.server.wm.WindowManagerService.relayoutWindow(WindowManagerService.java:2646)
00717 11-14 14:33:47.851   479   540 WRN WindowManager:     at com.android.server.wm.Session.relayout(Session.java:173)
00717 11-14 14:33:47.851   479   540 WRN WindowManager:     at android.view.ViewRootImpl.relayoutWindow(ViewRootImpl.java:3679)
00717 11-14 14:33:47.851   479   540 WRN WindowManager:     at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1278)
00717 11-14 14:33:47.851   479   540 WRN WindowManager:     at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2535)
00717 11-14 14:33:47.851   479   540 WRN WindowManager:     at android.os.Handler.dispatchMessage(Handler.java:99)
00717 11-14 14:33:47.851   479   540 WRN WindowManager:     at android.os.Looper.loop(Looper.java:137)
00717 11-14 14:33:47.851   479   540 WRN WindowManager:     at com.android.server.wm.WindowManagerService$PolicyThread.run(WindowManagerService.java:825)
4

0 回答 0