Loading services/java/com/android/server/WindowManagerService.java +18 −13 Original line number Diff line number Diff line Loading @@ -5185,6 +5185,7 @@ public class WindowManagerService extends IWindowManager.Stub WindowState out = mKeyWaiter.mOutsideTouchTargets; if (out != null) { MotionEvent oev = MotionEvent.obtain(ev); try { oev.setAction(MotionEvent.ACTION_OUTSIDE); do { final Rect frame = out.mFrame; Loading @@ -5192,12 +5193,16 @@ public class WindowManagerService extends IWindowManager.Stub try { out.mClient.dispatchPointer(oev, eventTime, false); } catch (android.os.RemoteException e) { Slog.i(TAG, "WINDOW DIED during outside motion dispatch: " + out); Slog.i(TAG, "WINDOW DIED during outside motion dispatch: " + out); } oev.offsetLocation((float)frame.left, (float)frame.top); out = out.mNextOutsideTouch; } while (out != null); mKeyWaiter.mOutsideTouchTargets = null; } finally { oev.recycle(); } } } Loading Loading
services/java/com/android/server/WindowManagerService.java +18 −13 Original line number Diff line number Diff line Loading @@ -5185,6 +5185,7 @@ public class WindowManagerService extends IWindowManager.Stub WindowState out = mKeyWaiter.mOutsideTouchTargets; if (out != null) { MotionEvent oev = MotionEvent.obtain(ev); try { oev.setAction(MotionEvent.ACTION_OUTSIDE); do { final Rect frame = out.mFrame; Loading @@ -5192,12 +5193,16 @@ public class WindowManagerService extends IWindowManager.Stub try { out.mClient.dispatchPointer(oev, eventTime, false); } catch (android.os.RemoteException e) { Slog.i(TAG, "WINDOW DIED during outside motion dispatch: " + out); Slog.i(TAG, "WINDOW DIED during outside motion dispatch: " + out); } oev.offsetLocation((float)frame.left, (float)frame.top); out = out.mNextOutsideTouch; } while (out != null); mKeyWaiter.mOutsideTouchTargets = null; } finally { oev.recycle(); } } } Loading