android - TakeKeyEvents not working effectively (no focus window error) -
My activity comes into play at the screen off. I either take advantage of it or lose focus. I have no indication that this focus has been lost, however, I see that major events come to the floor, and the window manager's report in the log - there is no focus window, leave: key events (all the key details that contained the key )
It is only occasionally, so it is making me difficult to solve a cause. Because this is an event that we sleep after indefinitely, I do not want to partial wallock. Most of the time, everything works correctly.
After the failed key incident, my activity starts again and then the screen is on the broadcast, and we are just awake on the activity that is not usually sitting on the screen because the main event floor Fell on
I am trying to understand why it happens, but whenever I use the takeaway events (truthful), which claims that it will help your activity to achieve your events. Even then there is no visualization with focus. I tried to start the command because the issue only appears when I have been stopped, but after trying, I try to get this issue very fast Less addressed.
My source of this activity is here:
Comments
Post a Comment