Add relative field to captured cursor device am: 611712ae14 am: bd764d9ebd

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1447897

Change-Id: I6dc8eaaaf70aa1887fc1935bc275d4b9ffbd992b