Google's Pilex phone blocks users from calling 911

Google's Pilex phone blocks users from calling 911

At the end of November, Reddit user KitchenPicture 5849 posted that his Pixel phone with Android 11 prevented him from calling 911. At that time, his grandmother had a stroke and needed to call an ambulance, but after calling 911, "the phone was stuck as soon as it rang, and there was nothing he could do except click on the emergency call app running in the background."

[[440273]]

This phenomenon can be reproduced. After the post became popular, Reddit users reproduced the problem. They also said that five minutes after the call was initiated, the emergency services department did not respond, and there was no evidence that the phone called 911 - the phone records on the device and the carrier (Verizon) phone records were all empty.

On December 8, Google responded to this issue positively, saying that "this problem is caused by unexpected interaction between the Microsoft Teams application and the underlying Android operating system. We will fix this problem soon and will provide Android platform updates to the Android ecosystem on January 4."

It is disturbing and confusing that a third-party application like Microsoft Teams can interfere with a service as important as emergency dialing. Carriers are required by law in almost all countries to route emergency calls to nearby emergency service sites, so emergency calls can be made even if the mobile device does not have a SIM card installed.

That is to say: emergency dialing on a mobile phone should not be blocked under any circumstances.

Source of the problem: PhoneAccounts

Subsequently, Mishaal Rahma of foreign media medium conducted a detailed study of what Google called "unexpected interaction between Microsoft Teams and underlying Android" and found that the problem lies in the PhoneAccounts instance at the bottom of Android. Android applications with calling functions will build PhoneAccount instances, such as the Microsoft Teams application. It uses the Skype backend for voice calls, but it cannot handle emergency calls, so the problem of not being able to dial 911 at the beginning of the article occurs.

But if we simply follow this logic, then all Android phones with Microsoft Teams installed will not be able to call 911. However, this is not the case. Usually, the Android system will sort the PhoneAccounts list by tags such as "whether emergency calls are supported", select the PhoneAccounts instance with the highest priority and execute it.

Then the mystery of the problem was revealed. The Microsoft Teams app had an error of excessive registration of PhoneAccount instances. Whenever the phone had the Microsoft Teams app installed but not logged in, each cold start of the app would create another PhoneAccount instance. Too many PhoneAccount instances to sort caused an integer overflow/underflow error in Android's sortSimPhoneAccountsforEmergency emergency call priority sorting method, which selected the wrong app for emergency calls.

Follow-up

On December 10, Microsoft released version 1416/1.0.0.2021194504 of the Teams application. This version solves the problem of generating too many duplicate PhoneAccounts, and also calls the clearPhoneAccounts method of TelecomManager at the first startup to clear all previously created PhoneAccounts.

Enthusiastic netizen @linuxct developed a simple open source application that can list all PhoneAccounts in the device and evaluate whether any application has the problem of excessive registration of PhoneAccounts. It is currently available for download on GitHub.

This article is reproduced from OSCHINA

Title of this article: Google's Pilex phone blocks users from calling 911

Article URL: https://www.oschina.net/news/173606/pixel-prevented-user-from-calling-911

<<:  After iOS 15.2 was released: Apple Watch users in China are looking forward to the ECG function being launched soon

>>:  Automatic warning of risky transactions! WeChat Pay's "anti-fraud customer service reminder" function is launched

Recommend

If foodies don’t want to gain weight, these 5 snacks are highly recommended!

When it comes to snacks, most people think that s...

Introduction and tips for Baidu e-commerce promotion!

E-commerce store promotion is a marketing product...

Can eating more "blue foods" such as seafood solve the human food crisis?

Written by: Zhu Hengheng Editor: Wang Xinkai Layo...

The core of brand planning and promotion!

The names, logos, standard colors and standard ch...

After technical people master these 11 tips, work will not be so tiring!

[[235091]] It is not uncommon for programmers to ...

5 operational lessons learned from Sina Weibo's second rise

Regarding Sina Weibo , let me first show you thre...

Marketing promotion: How to make your ad attract users' attention in 1 second?

In an age of scarce attention, every user is very...

HTC, the end of China's smartphone market

According to the announcement of HTC China Offici...

The i7-3960X has become a "foreign garbage": Can it drive the GTX 1080?

Many people think that playing games only require...