Merge "Fix color mismatch of pointers" am: e1c169c983
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1362517 Change-Id: I4a6d02a70131d3680b650db6f8feef4ef1add0ed
This commit is contained in:
@@ -371,7 +371,7 @@ public class PointerLocationView extends View implements InputDeviceListener,
|
|||||||
}
|
}
|
||||||
if (haveLast) {
|
if (haveLast) {
|
||||||
canvas.drawLine(lastX, lastY, x, y, mPathPaint);
|
canvas.drawLine(lastX, lastY, x, y, mPathPaint);
|
||||||
final Paint paint = ps.mTraceCurrent[i] ? mCurrentPointPaint : mPaint;
|
final Paint paint = ps.mTraceCurrent[i - 1] ? mCurrentPointPaint : mPaint;
|
||||||
canvas.drawPoint(lastX, lastY, paint);
|
canvas.drawPoint(lastX, lastY, paint);
|
||||||
drawn = true;
|
drawn = true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user