[CM] Fix comments, add tests to TransportInfo API
Bug: 117605977 Test: atest NetworkCapabilitiesTest Change-Id: I734ec56e44cd09d11ae81a856a53a26e1191b9a0
This commit is contained in:
parent
47311631d8
commit
55191eb12e
1 changed files with 10 additions and 3 deletions
|
|
@ -931,7 +931,7 @@ public final class NetworkCapabilities implements Parcelable {
|
|||
* Returns a transport-specific information container. The application may cast this
|
||||
* container to a concrete sub-class based on its knowledge of the network request. The
|
||||
* application should be able to deal with a {@code null} return value or an invalid case,
|
||||
* e.g. use {@code instanceof} operation to verify expected type.
|
||||
* e.g. use {@code instanceof} operator to verify expected type.
|
||||
*
|
||||
* @return A concrete implementation of the {@link TransportInfo} class or null if not
|
||||
* available for the network.
|
||||
|
|
|
|||
Loading…
Reference in a new issue