aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Kosiński <krzysio@google.com>2024-03-15 06:47:05 +0000
committerKrzysztof Kosiński <krzysio@google.com>2024-03-15 06:47:05 +0000
commite509f664eefc416652feb9eca57903fbe9f4898d (patch)
tree83418be9fca21e2917216825b386f3e7d140637d
parent492983e9a0a81933da4c2105e0f95f1c30bd234b (diff)
downloadtelephony-e509f664eefc416652feb9eca57903fbe9f4898d.tar.gz
Rename default value of RoamingType.
Protobuf 22.x no longer supports enums that have different values, but differ only by a prefix equal to the enum name. This value is not referenced anywhere in the code. Bug: 329747255 Test: presubmit Change-Id: Iea375bc50b2906a5e0ef0a369fd63349352cbd65
-rw-r--r--proto/src/telephony.proto8
1 files changed, 4 insertions, 4 deletions
diff --git a/proto/src/telephony.proto b/proto/src/telephony.proto
index b87728b53a..92f62cc011 100644
--- a/proto/src/telephony.proto
+++ b/proto/src/telephony.proto
@@ -259,8 +259,8 @@ message TelephonyServiceState {
// Roaming type
enum RoamingType {
- // Unknown. The default value. Different from ROAMING_TYPE_UNKNOWN.
- UNKNOWN = -1;
+ // Undefined. The default value. Different from ROAMING_TYPE_UNKNOWN.
+ ROAMING_TYPE_UNDEFINED = -1;
// In home network
ROAMING_TYPE_NOT_ROAMING = 0;
@@ -346,10 +346,10 @@ message TelephonyServiceState {
optional TelephonyOperator data_operator = 2;
// Current voice network roaming type
- optional RoamingType voice_roaming_type = 3 [default = UNKNOWN];
+ optional RoamingType voice_roaming_type = 3 [default = ROAMING_TYPE_UNDEFINED];
// Current data network roaming type
- optional RoamingType data_roaming_type = 4 [default = UNKNOWN];
+ optional RoamingType data_roaming_type = 4 [default = ROAMING_TYPE_UNDEFINED];
// Current voice radio technology
optional RadioAccessTechnology voice_rat = 5 [default = UNKNOWN];