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

Commit 88002654 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Don't notifyDataConnectionState for enterprise." into sc-dev am: 867ef6f4

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/opt/telephony/+/14391206

Change-Id: Idd6129f3920116e5859c8c398b9846491d3eb994
parents bbe0c9f7 867ef6f4
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -2401,7 +2401,13 @@ public class DataConnection extends StateMachine {
    }

    private void notifyDataConnectionState() {
        // The receivers of this have no way to differentiate between default and enterprise
        // connections. Do not notify for enterprise.
        if (!isEnterpriseUse()) {
            mPhone.notifyDataConnection(getPreciseDataConnectionState());
        } else {
            log("notifyDataConnectionState: Skipping for enterprise; state=" + getState());
        }
    }

    private DcDefaultState mDefaultState = new DcDefaultState();