K6nele icon indicating copy to clipboard operation
K6nele copied to clipboard

Microphone stays active after using Kõnele in Android 12

Open mrts opened this issue 2 years ago • 1 comments

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?

mrts avatar Apr 19 '22 18:04 mrts

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

Kaljurand avatar Apr 19 '22 22:04 Kaljurand