Dropping event due to window no focus
This is perfectly normal if you take any action in response to this event that causes your window to lose focus. It's not a problem.
Note however that it is generally good policy to respond to ACTION_UP for KEYCODE_BACK, not ACTION_DOWN.