+++ 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.
Attachment #8838097 - Flags: review?(s.kaspari) → review+
Pushed by email@example.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/84757ceb6dec Remove WRITE_CONTACTS permission from Android mozrunner; r=sebastian
Status: NEW → RESOLVED
Last Resolved: 2 years ago
status-firefox54: affected → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 54
status-firefox53: --- → fixed
You need to log in before you can comment on or make changes to this bug.