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

App looses microphone access when not active on v 1.6.20 #8881

Open
dmgartung opened this issue Aug 9, 2024 · 15 comments
Open

App looses microphone access when not active on v 1.6.20 #8881

dmgartung opened this issue Aug 9, 2024 · 15 comments
Labels
T-Defect Something isn't working: bugs, crashes, hangs and other reported problems

Comments

@dmgartung
Copy link

Steps to reproduce

  1. When on a voice call, click Home button or switch to other app

Outcome

What did you expect?

Continue conversation easily without interruptions while switching to other apps or lock the phone.

What happened instead?

Voice call party do not hear you because app looses access to microphone. It is noticeable on Samsung (S24) as green dot in the upper right corner (indicating microphone access) dissappears.

Works perfectly fine on 1.6.18

Your phone model

Samsung S24 Ultra

Operating system version

Android 14

Application version and app store

Element version 1.6.20 I. G Play store

Homeserver

matrix

Will you send logs?

No

Are you willing to provide a PR?

No

@dmgartung dmgartung added the T-Defect Something isn't working: bugs, crashes, hangs and other reported problems label Aug 9, 2024
@romawkafor
Copy link

I faced the same problem on about 10 new Samsung devices running Android 14

@adi-vizgan-unplugged
Copy link

I have the same issue, and I have further information:
When I compile Element's code with targetSdk set to 33, the issue does not happen. Probably Google changed something between targetSdk 33 and targetSdk 34, IDK what.

@throwException
Copy link

I can confirm this on a Pixel 6a using GrapheneOS.

This should be fixed urgently as it keeps me from doing hands-off calls.

@bro2020
Copy link
Contributor

bro2020 commented Sep 12, 2024

I confirm this.
Element-web:v1.11.75
Synapse:v1.114.0
Android app: 1.6.20 [40106202] (G-fca16b67) (With Google Play)

Reproduced on:
Samsung Galaxy S20 (Android 13)
Pixel 7 Pro (Android 14)

Does not reproduce on:
Xiaomi Mi10T (Android 12)

@aprettij
Copy link

The same problem occurs using Moto G84 and Samsung S21 (Android 14)

@dmgartung
Copy link
Author

@bmarty Hello. Is there any chance that this bug can be patched? Those who that don't know how to downgrade or use GitHub are basically cant use this app calls. I see there are updates for Element X but not for this client.

@profitrollgame
Copy link

I can confirm this is still the case on 1.6.22 [40106222] (G-9a4602bf).

Tested on the OnePlus 7T Pro (A14).

Calls are nearly unusable. Including the fix from PR in the next release would be highly appreciated.

@kirkawolff
Copy link

This has been an annoyance for quite some time. Whenever browsing to another app or the screensaver kicks in, my microphone is muted. On Element 1.6.22, GrapheneOS build 2024092900 android 14, pixel 6pro.

@dmgartung
Copy link
Author

So I tested new released version 1.6.22 and the bug still present in that version.

@kirkawolff
Copy link

kirkawolff commented Oct 9, 2024

The changes from this ticket were made a day or two after the 1.6.22 release. They appear to be on an approximate monthly release cycle. I don't see that the PR has been merged yet.

@kirkawolff
Copy link

When do we get this bug fix in a release?

@j4mt
Copy link

j4mt commented Nov 7, 2024

I also face this issue on Samsung s22 mentioned above when switching Apps.

@jsiit
Copy link

jsiit commented Nov 11, 2024

I can also confirm this problem on Note 20 Ultra 5G (Android 13, Element 1.6.22 [40106222] (G-9a4602bf))
Are there any updates on whether this problem is fixable?

I tested Element X a time ago and found it incomplete and not very usable. Can anyone give a status on how that improved (hopefully)?

@mdhanif-simformsolutions

Starting Android 14 you can't record audio if the app is in background unless you use a foreground service with at least microphone type.

@kirkawolff
Copy link

The latest release fixes this. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-Defect Something isn't working: bugs, crashes, hangs and other reported problems
Projects
None yet
Development

No branches or pull requests