OSDN Git Service

Maybe fix issue #2482201: Paired bluetooth device looks like a qwerty keyboard
authorDianne Hackborn <hackbod@google.com>
Wed, 3 Mar 2010 01:19:29 +0000 (17:19 -0800)
committerDianne Hackborn <hackbod@google.com>
Wed, 3 Mar 2010 01:37:45 +0000 (17:37 -0800)
commita2e92266b3f768f74ab7fcb42972a22d6c739b39
treeddbce0189e04e2ef3b196c9d71dd9dab03410d4b
parentc018f3cfdd8a8277dbb3b61d4761974862876ab9
Maybe fix issue #2482201: Paired bluetooth device looks like a qwerty keyboard

We now only consider a device to be a default keyboard if its name
has "-keypad".  A hack, but whatever.

Also add some debug logging for the input state to help identify such
issues in the future.
libs/ui/EventHub.cpp
services/java/com/android/server/InputDevice.java
services/java/com/android/server/KeyInputQueue.java
services/java/com/android/server/WindowManagerService.java