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:
Selim Cinek
2014-10-31 15:13:24 +00:00
committed by Android Git Automerger

View File

@@ -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: