Merge "Fix custom pointer icon caching in ViewRootImpl"
This commit is contained in:
committed by
Android (Google) Code Review
commit
f2acf9df65
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user