Merge "Moved transport to IntDef" am: 122c557701

am: e8bb52935c

Change-Id: I9a68e86efd37018db87dfb09af58fba8b99c3b15
This commit is contained in:
Jack Yu
2019-03-15 16:40:23 -07:00
committed by android-build-merger

View File

@@ -28,6 +28,7 @@ import android.content.Intent;
import android.content.res.Resources;
import android.net.wifi.WifiInfo;
import android.os.UserHandle;
import android.telephony.AccessNetworkConstants.TransportType;
import android.telephony.TelephonyManager;
import android.text.TextUtils;
import android.util.Slog;
@@ -92,7 +93,7 @@ public class NetworkNotificationManager {
return -1;
}
private static String getTransportName(int transportType) {
private static String getTransportName(@TransportType int transportType) {
Resources r = Resources.getSystem();
String[] networkTypes = r.getStringArray(R.array.network_switch_type_name);
try {