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

Commit a6d32473 authored by Ling Ma's avatar Ling Ma Committed by Jack Yu
Browse files

Relax anomaly report for duplicate interface

Only report if the existing network is connected.

Test: basic voice call + data browsing
Bug: 249922254
Merged-In: Iab541d6946cc72ee29a9d1438364b4921bc49e22
Change-Id: Iab541d6946cc72ee29a9d1438364b4921bc49e22
parent 708aab72
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2380,7 +2380,7 @@ public class DataNetwork extends StateMachine {
                        + dataNetwork + ". Silently tear down now.");
                // If this is a pre-5G data setup, that means APN database has some problems. For
                // example, different APN settings have the same APN name.
                if (response.getTrafficDescriptors().isEmpty()) {
                if (response.getTrafficDescriptors().isEmpty() && dataNetwork.isConnected()) {
                    reportAnomaly("Duplicate network interface " + response.getInterfaceName()
                            + " detected.", "62f66e7e-8d71-45de-a57b-dc5c78223fd5");
                }