Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e509f664 authored by Krzysztof Kosiński's avatar Krzysztof Kosiński
Browse files

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
parent 492983e9
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -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];