diff options
| author | Michael Wright <michaelwr@google.com> | 2016-05-13 17:44:16 +0100 |
|---|---|---|
| committer | Michael Wright <michaelwr@google.com> | 2016-06-04 02:20:21 +0100 |
| commit | e051f6f1fdb5e21cbed394d29dfcab5c642e4129 (patch) | |
| tree | e2123dbc463184c51e72e416a1363e14e1f9f233 /core/java/android/view/InputDevice.java | |
| parent | f5e5c3a72ac8d8ebd5cfbbdceb533a125190b610 (diff) | |
Rename PointerIcon and Pointer Capture APIs
This is a response to API council feedback.
Bug: 26830970
Change-Id: I1be541a53e3943d06640169671824f7daea15462
Diffstat (limited to 'core/java/android/view/InputDevice.java')
| -rw-r--r-- | core/java/android/view/InputDevice.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/java/android/view/InputDevice.java b/core/java/android/view/InputDevice.java index 281ab12df4b7..f8796c31fe93 100644 --- a/core/java/android/view/InputDevice.java +++ b/core/java/android/view/InputDevice.java @@ -778,12 +778,12 @@ public final class InputDevice implements Parcelable { } /** - * Sets the current pointer shape. - * @param pointerShape the id of the pointer icon. + * Sets the current pointer type. + * @param pointerType the type of the pointer icon. * @hide */ - public void setPointerShape(int pointerShape) { - InputManager.getInstance().setPointerIconShape(pointerShape); + public void setPointerType(int pointerType) { + InputManager.getInstance().setPointerIconType(pointerType); } /** |
