summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Jack Yu <jackyu@google.com> 2022-05-09 04:51:17 +0000
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2022-05-09 04:51:17 +0000
commitd5718c7c66ad03e511df525c07df41777717c58a (patch)
treed67501d9fa36b0db6b6e6ab364b970aba05b52c2
parent04470f4d3392a640992f919c4331538e2b03ad7d (diff)
parent0d0729a62fd8a9c38b708b51f9813e199c9082ea (diff)
Merge changes from topics "enterprise_internet", "set_data_enabled" am: 0d0729a62f
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2091527 Change-Id: I8650138a61c7445fa4c1d4b6029aca69d9854db1 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--telephony/java/android/telephony/TelephonyManager.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/telephony/java/android/telephony/TelephonyManager.java b/telephony/java/android/telephony/TelephonyManager.java
index 82949f29bf3b..87c337da8ccb 100644
--- a/telephony/java/android/telephony/TelephonyManager.java
+++ b/telephony/java/android/telephony/TelephonyManager.java
@@ -3134,8 +3134,10 @@ public class TelephonyManager {
return "LTE_CA";
case NETWORK_TYPE_NR:
return "NR";
- default:
+ case NETWORK_TYPE_UNKNOWN:
return "UNKNOWN";
+ default:
+ return "UNKNOWN(" + type + ")";
}
}