Expose DNS suffix list (Android)
Categories
(Core :: Networking: DNS, enhancement, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox72 | --- | fixed |
People
(Reporter: valentin, Assigned: valentin)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
(Whiteboard: [necko-triaged])
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
Hi James,
I found this Android API https://developer.android.com/reference/android/net/LinkProperties.html#getDomains() that seems to give me exactly what I need. I was considering calling it from GeckoAppShell.java
like we do for ex. isNetworkLinkUp
The problem is that LinkProperties is API level 21+ but the wiki says GeckoView requires Android OS version 4.3 (API Level 18) or later. For comparison, Fennec supports Android 4.1 (API level 16) and later. Fenix and Focus support Android 5.0 (API level 21) and later.
. Do we need to worry about pre API level21 platforms?
Assignee | ||
Comment 2•5 years ago
|
||
We do need to care about API < 21 for now. In this case, simply returning an empty list will probably suffice in that situation.
Updated•5 years ago
|
Comment 5•5 years ago
|
||
Backed out changeset 6384318223b4 (bug 1588218) for Linting failure on mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoAppShell.java. CLOSED TREE
Log:
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=275665365&repo=autoland&lineNumber=1110
Push with failures:
https://treeherder.mozilla.org/#/jobs?repo=autoland&group_state=expanded&revision=6384318223b46b1513240125d11aa6bf99eb0c00
Backout:
https://hg.mozilla.org/integration/autoland/rev/46cd6386dfdac604ecfa1fbbe560fd88dd23e4f7
Assignee | ||
Updated•5 years ago
|
Comment 7•5 years ago
|
||
bugherder |
Description
•