Closed
Bug 1340175
Opened 8 years ago
Closed 8 years ago
WARNING: Unable to grant runtime permissions to org.mozilla.fennec
Categories
(Firefox for Android Graveyard :: Testing, defect)
Firefox for Android Graveyard
Testing
Tracking
(firefox53 fixed, firefox54 fixed)
RESOLVED
FIXED
Firefox 54
People
(Reporter: gbrown, Assigned: gbrown)
References
Details
Attachments
(1 file)
961 bytes,
patch
|
sebastian
:
review+
|
Details | Diff | Splinter Review |
+++ This bug was initially created as a clone of Bug #1340001 +++
In bug 1340001, it was noted that test harnesses warn "Unable to grant runtime permissions" when run against Android 6+.
I reproduced 'WARNING: Unable to grant runtime permissions to org.mozilla.fennec' on a 6.0 emulator. I debugged and found that most of the pm grant calls are okay, but not WRITE_CONTACTS:
$ adb shell pm grant org.mozilla.fennec_gbrown android.permission.WRITE_CONTACTS
Operation not allowed: java.lang.SecurityException: Package org.mozilla.fennec_gbrown has not requested permission android.permission.WRITE_CONTACTS
Indeed, a dxr search shows WRITE_CONTACTS is no longer used by Fennec.
![]() |
Assignee | |
Comment 1•8 years ago
|
||
Attachment #8838097 -
Flags: review?(s.kaspari)
Updated•8 years ago
|
Attachment #8838097 -
Flags: review?(s.kaspari) → review+
Pushed by gbrown@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/84757ceb6dec
Remove WRITE_CONTACTS permission from Android mozrunner; r=sebastian
Comment 3•8 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 54
Comment 4•8 years ago
|
||
bugherder uplift |
status-firefox53:
--- → fixed
Flags: in-testsuite-
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•