summaryrefslogtreecommitdiffstats
path: root/services/java/com/android/server/WindowManagerService.java
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2010-03-02 17:19:29 -0800
committerDianne Hackborn <hackbod@google.com>2010-03-02 17:37:45 -0800
commita2e92266b3f768f74ab7fcb42972a22d6c739b39 (patch)
treeddbce0189e04e2ef3b196c9d71dd9dab03410d4b /services/java/com/android/server/WindowManagerService.java
parentc018f3cfdd8a8277dbb3b61d4761974862876ab9 (diff)
downloadframeworks_base-a2e92266b3f768f74ab7fcb42972a22d6c739b39.zip
frameworks_base-a2e92266b3f768f74ab7fcb42972a22d6c739b39.tar.gz
frameworks_base-a2e92266b3f768f74ab7fcb42972a22d6c739b39.tar.bz2
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.
Diffstat (limited to 'services/java/com/android/server/WindowManagerService.java')
-rw-r--r--services/java/com/android/server/WindowManagerService.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/services/java/com/android/server/WindowManagerService.java b/services/java/com/android/server/WindowManagerService.java
index 67eba3d..8781263 100644
--- a/services/java/com/android/server/WindowManagerService.java
+++ b/services/java/com/android/server/WindowManagerService.java
@@ -10851,6 +10851,10 @@ public class WindowManagerService extends IWindowManager.Stub
return;
}
+ pw.println("Input State:");
+ mQueue.dump(pw, " ");
+ pw.println(" ");
+
synchronized(mWindowMap) {
pw.println("Current Window Manager state:");
for (int i=mWindows.size()-1; i>=0; i--) {
@@ -11014,7 +11018,7 @@ public class WindowManagerService extends IWindowManager.Stub
if (mDimAnimator != null) {
mDimAnimator.printTo(pw);
} else {
- pw.print( " no DimAnimator ");
+ pw.println( " no DimAnimator ");
}
pw.print(" mInputMethodAnimLayerAdjustment=");
pw.print(mInputMethodAnimLayerAdjustment);