Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emergency calls (110 or 112) are not working (well) #250

Open
7 tasks done
gordon-fr33man opened this issue Sep 29, 2024 · 5 comments
Open
7 tasks done

Emergency calls (110 or 112) are not working (well) #250

gordon-fr33man opened this issue Sep 29, 2024 · 5 comments
Labels
ASAP Issue needs to be fixed as soon as possible. bug Something is not working help wanted Extra attention is needed

Comments

@gordon-fr33man
Copy link

Checklist

  • I can reproduce the bug with the latest version given here.
  • I made sure that there are no existing issues - open or closed - to which I could contribute my information.
  • I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
  • I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.

Affected app version

1.2.0

Affected Android/Custom ROM version

Android 13

Affected device model

Fairphone 4

How did you install the app?

F-Droid / IzzyOnDroid

Steps to reproduce the bug

  1. Start an emergency call to 110 or 112 (please don't, if it's not a real emergency!)

Expected behavior

An emergency call to 110 (police in Germany) or 112 (European emergency call) should work just like any other call.

Actual behavior

When I dial one of the two emergency numbers (110 [German police] oder 112 [european emergency call]) and start the call, nothing happens according to the app. A call is started in the background, but the normal screen that normally appears for every ongoing call does not appear. Instead, I continue to see the numpad and the digits I have just typed and dialled have disappeared. Even afterwards, there is no emergency call listed in the call list.

Screenshots/Screen recordings

No response

Additional information

This is my first time using GitHub, please be kind :D

@gordon-fr33man gordon-fr33man added bug Something is not working needs triage Issue is not yet ready for PR authors to take up labels Sep 29, 2024
@jimbo-the-prince
Copy link

jimbo-the-prince commented Nov 8, 2024

I have also experienced this issue when calling either 911 or using the 'emergency call' lock screen button to place a call to 911; however I also had issues just making the call itself, there was some sort of deadly popup in the way I have forgotten details about and I had to 'confirm' calling them. This is a literally deadly bug and needs to be taken very seriously.

Edit: stock android 14, oukitel c51.

@Aga-C Aga-C added ASAP Issue needs to be fixed as soon as possible. and removed needs triage Issue is not yet ready for PR authors to take up labels Nov 9, 2024
@naveensingh naveensingh pinned this issue Nov 15, 2024
@naveensingh naveensingh added the help wanted Extra attention is needed label Nov 18, 2024
@IkelAtomig
Copy link

Happens when invoking emergency from powerbutton. It's cumbersome, had to switch back to Google Dialer.

Maybe checking out some other Open source Dialer such as Right dialer, Simple Dialer, etc could help.

@XandaPanda42
Copy link

XandaPanda42 commented Dec 21, 2024

Got hit with this bug yesterday. The call was placed correctly, and both parties could hear, but the UI had disappeared and I couldn't access the call's page to press keys or hang up. At the end of the call, I had to ask the operator to hang up which was awkward.

I might be wrong, but I remember reading something about third party apps not being able to use the Call API for emergency numbers. If a third party app requests that the API dial an emergency number, the stock phone app is meant to take over.

However, since most of the users of Fossify Phone are attempting to get away from the stock phone apps, a lot of us have them disabled. This means that while the call API does still work to dial the number, the stock app (Google Phone in my case) was unable to open to manage the call, and Fossify can request that the API make a call, but the emergency override means that the call is sent to the stock app, so Fossify can't see it, or access or hang up that call.

I can't remember where I read it or how accurate it is, but it's a start.

Also of note: The class android.telephony.emergency does not appear in the source anywhere, so even if the rules had changed and it was allowed now, the app couldn't do it anyway. It's not so much of a bug as a missing CRITICAL feature.

I'm almost guaranteed to have to call an emergency number again in the next month or two, so if there's anyone involved with the project who can tell me the best way to get more detailed logs of these events, let me know. Since Foss can't access emergency calls, there's nothing in the Call History page.

Edit: Should have mentioned, this happened on a stock Google Pixel 7, latest version of the app and the call was placed to 000 (the Australian emergency number)

@XandaPanda42
Copy link

@naveensingh,

Found some more info to clarify, the class that helps manage emergency dialing can be found here.

It looks like it was added in Android 10, so my previous comment is out of date. Third party apps should be able to handle emergency dialing for any version later than Android 10 (API level 29).

I understand that this kind of issue is difficult to address given the nature of emergency calling, so if there's anything I can do to assist, please let me know. As I said, I'll likely need to call again at some point, so if there's a way I can enable more verbose logging to assist with testing, if you ever build a version you need tested, I can have the APK installed on my old spare phone and have it at the ready just in case.

There is also another alternative if you'd be interested. In Aus at least, people belonging to small businesses in the tech industry can register for approval to test their systems to handle emergency numbers. I'd be happy to email and ask some questions.

I'd like to help, but I've never been great with Java or Kotlin so there's little I can do in terms of code contributions, but I already fit most of the criteria for testing approval. And since Apple and Google pretty much forced Emergency Services to standardize across the world, if it works in Aus, it'll possibly make it work in other places too.

Let me know what you think :-)

@IkelAtomig
Copy link

@XandaPanda42 Thank you for your intiatives even in desparate times.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ASAP Issue needs to be fixed as soon as possible. bug Something is not working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

6 participants