Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 53d0c7f4 authored by Ken Shirriff's avatar Ken Shirriff Committed by Android (Google) Code Review
Browse files

Merge "Change key dispatch timeout logging."

parents 44d99379 8200b20f
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -5465,7 +5465,6 @@ public class WindowManagerService extends IWindowManager.Stub
                curFocus = mCurrentFocus;
                // cache the paused state at ctor time as well
                if (theFocus == null || theFocus.mToken == null) {
                    Log.i(TAG, "focus " + theFocus + " mToken is null at event dispatch!");
                    focusPaused = false;
                } else {
                    focusPaused = theFocus.mToken.paused;
@@ -5651,10 +5650,11 @@ public class WindowManagerService extends IWindowManager.Stub
                    synchronized (this) {
                        Log.w(TAG, "Key dispatching timed out sending to " +
                              (targetWin != null ? targetWin.mAttrs.getTitle()
                              : "<null>"));
                              : "<null>: no window ready for key dispatch"));
                        // NOSHIP debugging
                        Log.w(TAG, "Dispatch state: " + mDispatchState);
                        Log.w(TAG, "Current state:  " + new DispatchState(nextKey, targetWin));
                        Log.w(TAG, "Previous dispatch state: " + mDispatchState);
                        Log.w(TAG, "Current dispatch state: " +
                                new DispatchState(nextKey, targetWin));
                        // END NOSHIP
                        //dump();
                        if (targetWin != null) {