[NS04.8] Address comments from NS04 and NS04.5

Bug: 167544279
Test: ConnectivityServiceTest
Merged-In: I3c2563d4ae4e3715d0c6270344ba8f7ef067872f
Merged-In: Ia930b3d3e723075cb47e267d589c576ee2d4490f
Change-Id: Ia930b3d3e723075cb47e267d589c576ee2d4490f
  (cherry-picked from ag/13982288)
This commit is contained in:
Chalard Jean
2021-03-24 17:43:10 +09:00
committed by Junyu Lai
parent dd35f2dab0
commit a88fd95294
3 changed files with 46 additions and 43 deletions

View File

@@ -3341,9 +3341,10 @@ public class ConnectivityManager {
* Register or update a network offer with ConnectivityService.
*
* ConnectivityService keeps track of offers made by the various providers and matches
* them to networking requests made by apps or the system. The provider supplies a score
* and the capabilities of the network it might be able to bring up ; these act as filters
* used by ConnectivityService to only send those requests that can be fulfilled by the
* them to networking requests made by apps or the system. A callback identifies an offer
* uniquely, and later calls with the same callback update the offer. The provider supplies a
* score and the capabilities of the network it might be able to bring up ; these act as
* filters used by ConnectivityService to only send those requests that can be fulfilled by the
* provider.
*
* The provider is under no obligation to be able to bring up the network it offers at any