mozilla-mobile / android-components

⚠️ This project moved to a new repository. It is now developed and maintained at: https://github.com/mozilla-mobile/firefox-android

Home Page:https://github.com/mozilla-mobile/firefox-android

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Check the camera permission again when the QR functionality is resumed

Mugurell opened this issue · comments

Issue seen in mozilla-mobile/fenix#27228

Seems like the scenario for that issue happens because upon resuming from Settings the QRFragment does not check again for the camera permission.
So as an easy fix we can allow the QRFeature to check and ask again for the camera permission.

There is also an ANR seen in mozilla-mobile/fenix#27177 (comment) which seems to be the result of a deadlock? between the fragment trying to openCamera and at the same time asking for the camera permission.

┆Issue is synchronized with this Jira Task