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

Commit 86156914 authored by Ling Ma's avatar Ling Ma
Browse files

Relax anomaly report for duplicate interface

Only report if the existing network is connected.

Test: basic voice call + data browsing
Bug: 249922254
Change-Id: Iab541d6946cc72ee29a9d1438364b4921bc49e22
parent e63eb8ae
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2406,7 +2406,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");
                }