removing a redundant comment

This commit is contained in:
Tibor Kaputa 2022-11-26 18:59:33 +01:00 committed by GitHub
parent fd82e35215
commit 1e5a4beb8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -374,7 +374,6 @@ class MainActivity : SimpleActivity(), PhotoProcessor.MediaSavedListener, Camera
}
override fun onFling(event1: MotionEvent?, event2: MotionEvent?, velocityX: Float, velocityY: Float): Boolean {
// these can be null even if the docs say they cannot, getting event1.x in itself can cause crashes
if (event1 == null || event2 == null) {
return true
}