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

Commit 781b33ed authored by Jack Yu's avatar Jack Yu
Browse files

Increased the PDN deactivation time to 60 seconds

Only trigger anomaly report after 60 seconds timeout

Fix: 226419837
Test: Manual
Change-Id: I98e6fe463c504a53d6a716a6714be3ee20ba30d6
parent 68004c84
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -231,7 +231,7 @@ public class DataNetwork extends StateMachine {

    /** The maximum time the data network can stay in {@link DisconnectingState}. */
    private static final long MAXIMUM_DISCONNECTING_DURATION_MILLIS =
            TimeUnit.SECONDS.toMillis(15);
            TimeUnit.SECONDS.toMillis(60);

    /** The maximum time the data network can stay in {@link HandoverState}. */
    private static final long MAXIMUM_HANDOVER_DURATION_MILLIS =
@@ -1351,7 +1351,7 @@ public class DataNetwork extends StateMachine {
                                    MAXIMUM_DISCONNECTING_DURATION_MILLIS) + " seconds.";
                    logl(message);
                    AnomalyReporter.reportAnomaly(
                            UUID.fromString("d0e4fa1c-c57b-4ba5-b4b6-8955487012cb"), message);
                            UUID.fromString("d0e4fa1c-c57b-4ba5-b4b6-8955487012cc"), message);
                    mFailCause = DataFailCause.LOST_CONNECTION;
                    transitionTo(mDisconnectedState);
                    break;