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

Microphone stays active after using Kõnele in Android 12 #95

Open
mrts opened this issue Apr 19, 2022 · 1 comment
Open

Microphone stays active after using Kõnele in Android 12 #95

mrts opened this issue Apr 19, 2022 · 1 comment

Comments

@mrts
Copy link

mrts commented Apr 19, 2022

First and foremost, I'm really happy that Kõnele works well in Android 12, I missed it a lot while using Android 11!

However, there is a tiny issue. Android 12 reports with a green dot when microphone is active and after using Kõnele the green dot does not switch off, see the upper right corner of the screenshot below:
microphone-active

I wonder if the microphone resource is released properly after Kõnele is done?

@Kaljurand
Copy link
Owner

Kaljurand commented Apr 19, 2022

Thanks! The latest Kõnele should work in Android 11 as well, and earlier versions worked if used together with Kõnele service (see #82).

Regarding the green dot, I'm not sure what its exact semantics is, but in my experience it's always visible, unless the microphone is centrally blocked. If you drag down the notification shade and click on the green mic icon, then sometimes more info pops up, e.g. I've seen messages like:

  • Being used by Kõnele
  • Being used by Kõnele (through Google)
  • Being used by Kõnele; Being used by Kõnele service (2 messages on top of each other, see screenshot)
  • Recently used by Kõnele
  • Recently used by Kõnele service

20220419_green_dot

I'm guessing some of this reporting is somewhat buggy, but it seems consistent with how Kõnele holds the microphone: Kõnele's own mic button is red then (and Android says "Being used by"), and not red otherwise (and Android says "Recently used by" or does not say anything).

There is an Android 12 related bug though: Kõnele fails to detect if the mic is centrally blocked, and even if it's unblocked fails to access it (unless it's restarted?). See #99

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants