Merge "Fix custom pointer icon caching in ViewRootImpl"

This commit is contained in:
TreeHugger Robot
2017-01-04 19:35:10 +00:00
committed by Android (Google) Code Review

View File

@@ -4552,8 +4552,8 @@ public final class ViewRootImpl implements ViewParent,
if (mPointerIconType != pointerType) {
mPointerIconType = pointerType;
mCustomPointerIcon = null;
if (mPointerIconType != PointerIcon.TYPE_CUSTOM) {
mCustomPointerIcon = null;
InputManager.getInstance().setPointerIconType(pointerType);
return true;
}