diff options
Diffstat (limited to 'core/java/android/view/InputDevice.java')
| -rw-r--r-- | core/java/android/view/InputDevice.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/core/java/android/view/InputDevice.java b/core/java/android/view/InputDevice.java index 46b9a4694d9d..88cd7ca71a4e 100644 --- a/core/java/android/view/InputDevice.java +++ b/core/java/android/view/InputDevice.java @@ -784,6 +784,15 @@ public final class InputDevice implements Parcelable { } /** + * Specifies the current custom pointer. + * @param icon the icon data. + * @hide + */ + public void setCustomPointerIcon(PointerIcon icon) { + InputManager.getInstance().setCustomPointerIcon(icon); + } + + /** * Provides information about the range of values for a particular {@link MotionEvent} axis. * * @see InputDevice#getMotionRange(int) |
