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

Commit 867ef6f4 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Don't notifyDataConnectionState for enterprise." into sc-dev

parents 469f31b7 8f48e656
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();