mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Add new Window.Callback.dispatchGenericMotionEvent to adapter class
Change-Id: I7571da1d00c22d96f2fb0f9b2e8a2c84a9344c81
This commit is contained in:
parent
d13b49d1a4
commit
03886cf96a
@ -34,6 +34,13 @@ public class WindowCallbackAdapter implements Window.Callback {
|
|||||||
mPreviousCallback = previousCallback;
|
mPreviousCallback = previousCallback;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean dispatchGenericMotionEvent(MotionEvent event) {
|
||||||
|
if (mPreviousCallback != null)
|
||||||
|
return mPreviousCallback.dispatchGenericMotionEvent(event);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean dispatchKeyEvent(KeyEvent event) {
|
public boolean dispatchKeyEvent(KeyEvent event) {
|
||||||
if (mPreviousCallback != null)
|
if (mPreviousCallback != null)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user