Created
October 1, 2018 16:34
-
-
Save aviraxp/3c3a933a084e55c4be4158c010dcce19 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
case MSG_GESTURE_MOTION_DOWN: { | |
int k = 0; | |
while (k < ViewRootImpl.this.mBackupEventList.size()) { | |
try { | |
boolean ishandled = ViewRootImpl.this.mView.dispatchPointerEvent( | |
(MotionEvent) ViewRootImpl.this.mBackupEventList.get(k)); | |
k++; | |
} catch (NullPointerException e) { | |
Log.e(ViewRootImpl.TAG, "mView does not exist, discard points. " + e); | |
break; | |
} | |
} | |
} break; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment