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

Commit 2c16f1cd authored by Ling Ma's avatar Ling Ma
Browse files

Add comment

Add comment to remind future changes in tear down reason should be reflected in metrics enum. Otherwise it could lead to metrics pipeline fail.

Fix: 312494335
Test: basic
Change-Id: I90b83d56201a17a4d1e6c6e475aacb3eff98b0fe
parent fd2a9633
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -406,6 +406,10 @@ public class DataNetwork extends StateMachine {
    /** Data network tear down due to preferred data switched to another phone. */
    public static final int TEAR_DOWN_REASON_PREFERRED_DATA_SWITCHED = 30;

    //********************************************************************************************//
    // WHENEVER ADD A NEW TEAR DOWN REASON, PLEASE UPDATE DataDeactivateReasonEnum in enums.proto //
    //********************************************************************************************//

    @IntDef(prefix = {"BANDWIDTH_SOURCE_"},
            value = {
                    BANDWIDTH_SOURCE_UNKNOWN,