You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
call View.onAttachedToWindow() method
This commit is contained in:
@@ -1540,11 +1540,11 @@ public final class MotionEvent extends InputEvent {
|
||||
pc[0].pressure = pressure;
|
||||
pc[0].size = size;
|
||||
|
||||
ev.mNativePtr = nativeInitialize(ev.mNativePtr,
|
||||
deviceId, /*InputDevice.SOURCE_UNKNOWN*/ 0, action, 0, edgeFlags, metaState, 0,
|
||||
0, 0, xPrecision, yPrecision,
|
||||
downTime * NS_PER_MS, eventTime * NS_PER_MS,
|
||||
1, pp, pc);
|
||||
// ev.mNativePtr = nativeInitialize(ev.mNativePtr,
|
||||
// deviceId, /*InputDevice.SOURCE_UNKNOWN*/ 0, action, 0, edgeFlags, metaState, 0,
|
||||
// 0, 0, xPrecision, yPrecision,
|
||||
// downTime * NS_PER_MS, eventTime * NS_PER_MS,
|
||||
// 1, pp, pc);
|
||||
return ev;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user