Update GestureDetector.java