CyanogenDefy / android_device_motorola_jordan

Motorola Defy MB525 CM7 XDA (jordan)
http://forum.xda-developers.com/showthread.php?t=1065798
80 stars 60 forks source link

Headset button: long press button doesn't work if screen is off #137

Closed LeopardSurd closed 12 years ago

LeopardSurd commented 12 years ago

Hello, there is a little problem with calling using headset. If screen is off, I cannot end a call because to do that I need to do a long press on headset button that is not recognised by CM7 if the screen is off.

Thested with screen on, all is ok. During a call:

  1. short press: mute the microphone
  2. long press: end the call

Tested with screen off during a call:

  1. short press: mute the microphone
  2. long press: mute the microphone. (miss-recognised)

Also, apps like PlayerPro that use inbuilt headset button functions doesn't work correctly if screen is off. Only one single short press is recognised. Double, triple or long press are not recognised.

The only app that by-pass this problem is Headset Button Controls (from Android Market) and it does that very good.

Anyway, clicks combinatons are not important but the long press for ending calls is an important in-build feature. Please, fix it.

Thanks!

maniac103 commented 12 years ago

Duplicate of #118 - but not solved

tpruvot commented 12 years ago

fixed : https://github.com/CyanogenDefy/android_frameworks_base/commit/82f9b34dd9408c8c52f1a3cb926dde652b45025c