Simple-Dialer icon indicating copy to clipboard operation
Simple-Dialer copied to clipboard

Trying to call with microphone access disabled causes phone to restart

Open triallax opened this issue 2 years ago • 5 comments

OS: Android 13 (One UI 5) Device: Galaxy A51 Simple Dialer version: 5.17.3 (installed from F-Droid)

At some point One UI (or is it Android?) got a new feature to disable microphone access system-wide:

"Microphone access" toggle

When microphone access is disabled and an app tries to the microphone, the following dialog is shown at the bottom of the screen:

Microphone access dialog

However, this doesn't work properly with Simple Dialer: when I try to call somebody while microphone access is disabled, the dialog is shown as expected, but around one second after it is shown, the phone restarts. I do not know of any other app that exhibits this issue.

I recorded a logcat while reproducing the bug. Here are the last few lines:

03-11 14:01:48.517  5189 15689 W Exynos_OSAL_Android: [0xf6630600][Exynos_OSAL_GetParameter] (0x10) is not supported
03-11 14:01:48.519  5189 15689 E OMXNodeInstance: getExtensionIndex(0xf6737ae0:Exynos.vp8.dec, OMX.google.android.index.configureVideoTunnelMode) ERROR: BadParameter(0x80001005)
03-11 14:01:48.519 27532 27532 D MediaCodecInfo: detail feature-tunneled-playback wasn't present to remove
03-11 14:01:48.519  4368  4368 I hwservicemanager: getTransport: Cannot find entry [email protected]::IEffectsFactory/default in either framework or device VINTF manifest.
03-11 14:01:48.524 27532 27532 I ACodec  :  [] Now uninitialized

Note that I removed a bunch of factory packages from the system to debloat it, which may be related to the issue.

triallax avatar Mar 11 '23 14:03 triallax

well, being the default dialer app automatically grants the access. Not sure if the permission can later be revoked manually, guess thats the case that should be handled.

tibbi avatar Mar 11 '23 20:03 tibbi

For what it's worth, I also had this issue happen to me today when somebody else called me while microphone access was disabled.

triallax avatar Mar 13 '23 23:03 triallax

well, being the default dialer app automatically grants the access. Not sure if the permission can later be revoked manually, guess thats the case that should be handled.

This is already being handled and that's with the dialog the OP is referring to.

I have disabled my microphone access and also get the dialog but when I try to call but my Phone doesn't restarts. I have tested on both Samsung(physical) and Pixel (Emulator) but unable to recreate.

Is your device rooted? @mhmdanas

ismailnurudeen avatar Mar 29 '23 09:03 ismailnurudeen

No, my device is not rooted.

triallax avatar Mar 29 '23 13:03 triallax

No, my device is not rooted.

Okay. Thanks. Still unable to recreate yet.

ismailnurudeen avatar Mar 30 '23 15:03 ismailnurudeen