From e509f664eefc416652feb9eca57903fbe9f4898d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20Kosi=C5=84ski?= Date: Fri, 15 Mar 2024 06:47:05 +0000 Subject: 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 --- proto/src/telephony.proto | 8 ++++---- 1 file 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]; -- cgit v1.2.3