Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit da3b8be8 authored by Jeff Sharkey's avatar Jeff Sharkey
Browse files

Define NOT_ROAMING network capability.

The "roaming" state of a network really belongs on NetworkCapabilities
instead of being published through NetworkInfo.isRoaming().  One major
reason is to support developers creating NetworkRequests for a
non-roaming network.

This change unifies NetworkInfo updates into a single method, since
there were lurking bugs where it could end up partially updated.  Also
always send updated info and capabilities whenever they change.

Test: bit FrameworksNetTests:android.net.,com.android.server.net.
Bug: 68397798, 16207332
Change-Id: I1652e7bea37e1d3f64ef829a9cbc1411b64e286c
parent 5bb6bdb5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment