Merge "Fix Automated API Review issues." am: acb5eca325 am: f1f3b08982
am: affa3f497d
Change-Id: Iba1630161579571d4975aba9bbd5c767f82c8a98
This commit is contained in:
commit
2e2bc9c173
1 changed files with 346 additions and 265 deletions
|
|
@ -16,6 +16,7 @@
|
|||
|
||||
package android.net;
|
||||
|
||||
import android.annotation.Nullable;
|
||||
import android.annotation.SystemApi;
|
||||
import android.annotation.TestApi;
|
||||
import android.annotation.UnsupportedAppUsage;
|
||||
|
|
@ -112,7 +113,8 @@ public final class RouteInfo implements Parcelable {
|
|||
*/
|
||||
@SystemApi
|
||||
@TestApi
|
||||
public RouteInfo(IpPrefix destination, InetAddress gateway, String iface, int type) {
|
||||
public RouteInfo(@Nullable IpPrefix destination, @Nullable InetAddress gateway,
|
||||
@Nullable String iface, int type) {
|
||||
switch (type) {
|
||||
case RTN_UNICAST:
|
||||
case RTN_UNREACHABLE:
|
||||
|
|
|
|||
Loading…
Reference in a new issue