Skip to content

"Power button ends call" setting is broken #28

@ghost

Description

I've been doing some toying around with this issue, and may have found a fix.

A workaround (which is half-assed, and DEFINITELY breaks the setting), is to switch the locked-in default to NOT hang up the call. Like so:

  1. In packages/apps/Phone/lsrc/com/android/phone/PhoneInterfaceManager.java
  2. Find "case CMD_END_CALL"
  3. Find the line that says "hungUp = PhoneUtils.hangupRingingAndActive(mPhone);"
  4. Change "PhoneUtils.hangupRingingAndActive(mPhone);" to "false;"
  5. The whole line then reads: "hungUp = false;"
  6. The power button will no longer hang up the call, but the actual setting is still broken.

As I said though, I may have found a fix that allows the setting to actually work as expected. Once it compiles and I test it, I'll update this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions