Pending Intent requires FLAG_IMMUTABLE or FLAG_MUTABLE
Categories
(GeckoView :: General, defect, P2)
Tracking
(firefox107 wontfix, firefox108 wontfix, firefox109 fixed)
People
(Reporter: dbaker, Assigned: dbaker)
Details
(Keywords: crash)
Attachments
(2 files)
PendigingIntent needs to have a immutable or mutable flag set.
STR:
- Build and run geckoview_example
- Navigate to a site that will ask for camera/microphone permissions.
- Click to allow
Expected Results:
- App will function
Actual Results:
- Crash is seen using geckoview_example
Comment 1•2 years ago
|
||
The severity field is not set for this bug.
:cpeterson, could you have a look please?
For more information, please visit auto_nag documentation.
Comment 2•2 years ago
|
||
Dan, can you reproduce this crash in Android Firefox or Focus? What site did you test?
I don't have the geckoview_example app on my device. I was not able to reproduce the crash in Firefox when testing the camera/microphone permissions on https://permission.site/, so this bug might be specific to geckoview_example.
Assignee | ||
Comment 3•2 years ago
|
||
Chris, this is specific I believe to the geckoview_example project the site you listed crashed for me when requesting camera permissions. If you also see the link I posted https://searchfox.org/mozilla-central/rev/f118dae98073bc17efb8604a32abfcb7b4e05880/mobile/android/geckoview_example/src/main/java/org/mozilla/geckoview_example/GeckoViewActivity.java#2390 you can see that the PendingIntent in the example project is not passing a flag as is required with Android 12.
Assignee | ||
Comment 4•2 years ago
|
||
Updated•2 years ago
|
Assignee | ||
Comment 5•2 years ago
|
||
Depends on D163378
Updated•2 years ago
|
Updated•2 years ago
|
Comment 6•2 years ago
|
||
(In reply to Dan Baker[:dbaker] from comment #3)
Chris, this is specific I believe to the geckoview_example project
In that case, we won't need to uplift the fix to Beta. Setting status-firefox108=wontfix.
Updated•2 years ago
|
Comment 8•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/6afebd3d000e
https://hg.mozilla.org/mozilla-central/rev/06f8b1b11f82
Description
•