diff --git a/core/java/android/view/View.java b/core/java/android/view/View.java index dc3620bcc5e56..f8c7cd049365d 100644 --- a/core/java/android/view/View.java +++ b/core/java/android/view/View.java @@ -28733,7 +28733,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback, * {@link InputDevice#SOURCE_MOUSE_RELATIVE}, and relative position changes will be * available through {@link MotionEvent#getX} and {@link MotionEvent#getY}. * - *
+ * When pointer capture changes, connected mouse and trackpad devices may be reconfigured, + * and their properties (such as their sources or motion ranges) may change. Use an + * {@link android.hardware.input.InputManager.InputDeviceListener} to be notified when a device + * changes (which may happen after enabling or disabling pointer capture), and use + * {@link InputDevice#getDevice(int)} to get the updated {@link InputDevice}. + *
* Events captured through pointer capture will be dispatched to * {@link OnCapturedPointerListener#onCapturedPointer(View, MotionEvent)} if an * {@link OnCapturedPointerListener} is set, and otherwise to