Closed Bug 1646163 Opened 6 years ago Closed 2 years ago

onMediaPermissionRequest gets called over and over when switching the camera on talky.io

Categories

(GeckoView :: Media, defect, P2)

Unspecified
All
defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: amejia, Unassigned)

References

Details

(Whiteboard: [fxdroid] [group4])

On Android 5.1.1 and 7 we are seeing some strange behaviour, after granting a camera permission and switching the camera, we get recursive calls to onMediaPermissionRequest even after calling callback.grant. The behavior doesn't happening if we do the same on Android 10, 9 or 8.

Related Fenix bug

STR

  1. Go to Talky.io;
  2. Share the camera;
  3. try to switch the camera;

For me, the same behaviour happened also on Android 10, I called grant and it triggered the onMediaPermissionRequest callback

Severity: -- → S3
Priority: -- → P2

Moving some media bugs to the new GeckoView::Media component.

Component: General → Media
Whiteboard: [fxdroid] [group4]

Never saw the recursive onMediaPermissionRequest callback on Nexus 5 Android 6, Nexus S Android 7, Pixel 8 Android 9, Pixel Android 10.

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.