Improved the network type to string

Bug: 227781379
Test: atest DataNetworkControllerTest DataProfileManagerTest
Change-Id: I6d09ade1650e226a965547e3f78e74f3f2ffec59
This commit is contained in:
Jack Yu
2022-04-02 20:53:50 -07:00
parent 97c8cee1a3
commit c5a53c4125

View File

@@ -3227,8 +3227,10 @@ public class TelephonyManager {
return "LTE_CA";
case NETWORK_TYPE_NR:
return "NR";
default:
case NETWORK_TYPE_UNKNOWN:
return "UNKNOWN";
default:
return "UNKNOWN(" + type + ")";
}
}