File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -2389,8 +2389,6 @@ private static void forceLayout(View view) {
23892389 public final static int RESIZED_REPORT = 1003 ;
23902390 public final static int WINDOW_FOCUS_CHANGED = 1004 ;
23912391 public final static int DISPATCH_KEY = 1005 ;
2392- public final static int DISPATCH_POINTER = 1006 ;
2393- public final static int DISPATCH_TRACKBALL = 1007 ;
23942392 public final static int DISPATCH_APP_VISIBILITY = 1008 ;
23952393 public final static int DISPATCH_GET_NEW_SURFACE = 1009 ;
23962394 public final static int IME_FINISHED_EVENT = 1010 ;
@@ -2422,10 +2420,6 @@ public String getMessageName(Message message) {
24222420 return "WINDOW_FOCUS_CHANGED" ;
24232421 case DISPATCH_KEY :
24242422 return "DISPATCH_KEY" ;
2425- case DISPATCH_POINTER :
2426- return "DISPATCH_POINTER" ;
2427- case DISPATCH_TRACKBALL :
2428- return "DISPATCH_TRACKBALL" ;
24292423 case DISPATCH_APP_VISIBILITY :
24302424 return "DISPATCH_APP_VISIBILITY" ;
24312425 case DISPATCH_GET_NEW_SURFACE :
@@ -2591,6 +2585,10 @@ public void handleMessage(Message msg) {
25912585 case DIE :
25922586 doDie ();
25932587 break ;
2588+ case DISPATCH_KEY : {
2589+ KeyEvent event = (KeyEvent )msg .obj ;
2590+ enqueueInputEvent (event , null , 0 );
2591+ } break ;
25942592 case DISPATCH_KEY_FROM_IME : {
25952593 if (LOCAL_LOGV ) Log .v (
25962594 TAG , "Dispatching key "
You can’t perform that action at this time.
0 commit comments