Closed
Bug 1491094
Opened 6 years ago
Closed 6 years ago
Investigate whether we can remove GV's ACCESS_WIFI_STATE permission requirement
Categories
(GeckoView :: General, defect, P1)
Tracking
(geckoview62 fixed, firefox-esr60 wontfix, firefox62 wontfix, firefox63 fixed, firefox64 fixed)
RESOLVED
FIXED
mozilla64
People
(Reporter: cpeterson, Assigned: snorp)
References
Details
Attachments
(1 file)
46 bytes,
text/x-phabricator-request
|
droeh
:
review+
pascalc
:
approval-mozilla-beta+
RyanVM
:
approval-mozilla-geckoview62+
|
Details | Review |
Focus+WebView does not require the ACCESS_WIFI_STATE permission, so this permission may be preventing some Focus+WebView users from updating to Focus+GV. GV uses Android's Wi-Fi APIs to check whether the network is offline. We may be able get the same network status using some other API without this permission. https://searchfox.org/mozilla-central/rev/de7676288a78b70d2b9927c79493adbf294faad5/mobile/android/geckoview/src/main/AndroidManifest.xml#5
Note that this also causes some valid privacy concerns for Focus users: https://github.com/mozilla-mobile/focus-android/issues/3441
Reporter | ||
Comment 2•6 years ago
|
||
We should try to fix this bug in GV 62 in Focus 7.0. Adding this permission causes an annoying update process for users updating for Focus+WebView to Focus+GV. Users with Android >= O have to click through a permission prompt. Users with Android < O have to open the Google Play Store and manually update.
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → snorp
Reporter | ||
Comment 3•6 years ago
|
||
If we can remove the ACCESS_WIFI_STATE permission, we might be able to remove (android:required="false") the android.hardware.wifi feature requirement (like android.hardware.touchscreen bug 1490786).
Assignee | ||
Comment 4•6 years ago
|
||
Fennec will continue to require this.
Comment 5•6 years ago
|
||
Comment on attachment 9012698 [details] Bug 1491094 - Don't require ACCESS_WIFI_STATE for GeckoView r=droeh Dylan Roeh (:droeh) has approved the revision.
Attachment #9012698 -
Flags: review+
Pushed by jwillcox@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/149bad7f0537 Don't require ACCESS_WIFI_STATE for GeckoView r=droeh
Assignee | ||
Comment 7•6 years ago
|
||
Comment on attachment 9012698 [details] Bug 1491094 - Don't require ACCESS_WIFI_STATE for GeckoView r=droeh Approval Request Comment [Feature/Bug causing the regression]: N/A [User impact if declined]: Unnecessary permissions in GeckoView apps [Is this code covered by automated tests?]: No [Has the fix been verified in Nightly?]: No [Needs manual test from QE? If yes, steps to reproduce]: No [List of other uplifts needed for the feature/fix]: None [Is the change risky?]: No [Why is the change risky/not risky?]: Removes a permission and guards around the couple places where we used the thing provided by said permission. [String changes made/needed]: None
Attachment #9012698 -
Flags: approval-mozilla-beta?
Reporter | ||
Comment 8•6 years ago
|
||
uplift |
Fixed in GECKOVIEW_62_RELBRANCH: https://hg.mozilla.org/releases/mozilla-release/rev/97c33560b0e2
Comment 9•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/149bad7f0537
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 64
Comment 10•6 years ago
|
||
Comment on attachment 9012698 [details] Bug 1491094 - Don't require ACCESS_WIFI_STATE for GeckoView r=droeh P1 got Geckoview, uplift accepted for 63 beta 11, thanks.
Attachment #9012698 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Comment 11•6 years ago
|
||
bugherder uplift |
https://hg.mozilla.org/releases/mozilla-beta/rev/20a95b6b2494
Comment 12•6 years ago
|
||
Comment on attachment 9012698 [details] Bug 1491094 - Don't require ACCESS_WIFI_STATE for GeckoView r=droeh Retroactively setting the GV62 approval flag.
Attachment #9012698 -
Flags: approval-mozilla-geckoview62+
Updated•5 years ago
|
Product: Firefox for Android → GeckoView
Updated•5 years ago
|
Target Milestone: Firefox 64 → mozilla64
You need to log in
before you can comment on or make changes to this bug.
Description
•