am 17c2336c: am ac457b1b: Merge "Fixed a crash in the Notification expandHelper" into lmp-mr1-dev automerge: 3804ebf
* commit '17c2336c94765516ac6e1591b4c8578e89c18c70': Fixed a crash in the Notification expandHelper
This commit is contained in:
@@ -351,6 +351,9 @@ public class ExpandHelper implements Gefingerpoken {
|
||||
mVelocityTracker.addMovement(event);
|
||||
break;
|
||||
case MotionEvent.ACTION_MOVE:
|
||||
if (mVelocityTracker == null) {
|
||||
mVelocityTracker = VelocityTracker.obtain();
|
||||
}
|
||||
mVelocityTracker.addMovement(event);
|
||||
break;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user