FM: Add code to handle headset hook key long press event

Headset hook key long press will send two ACTION_DOWN events.
So FM will treat it as two short press events and it will stop
and restart again. Add code to distinguish it is long press or
short press and ignore the long press event.

Change-Id: I8cd5b090b3f873c759fdb87df64a08e03b32d812
CRs-Fixed: 819269
1 file changed
tree: e4fa785331447b6fe128d8b1958ab47638dec14c
  1. fmapp/
  2. fmapp2/
  3. FMRecord/
  4. jni/
  5. libfm_jni/
  6. qcom/
  7. Android.mk