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

Commit 71795c73 authored by Wink Saville's avatar Wink Saville Committed by Android (Google) Code Review
Browse files

Merge "checkMobileProvisioning is not using sendNotification."

parents a2089f47 c2fee24f
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -3670,7 +3670,7 @@ public class ConnectivityService extends IConnectivityManager.Stub {
    }

    @Override
    public int checkMobileProvisioning(boolean sendNotification, int suggestedTimeOutMs,
    public int checkMobileProvisioning(final boolean sendNotification, int suggestedTimeOutMs,
            final ResultReceiver resultReceiver) {
        log("checkMobileProvisioning: E sendNotification=" + sendNotification
                + " suggestedTimeOutMs=" + suggestedTimeOutMs
@@ -3703,6 +3703,10 @@ public class ConnectivityService extends IConnectivityManager.Stub {
                        log("CheckMp.onComplete: send result");
                        resultReceiver.send(result, null);
                    }
                    if (!sendNotification) {
                        log("CheckMp.onComplete: done, not sending notification");
                        return;
                    }
                    NetworkInfo ni =
                            mNetTrackers[ConnectivityManager.TYPE_MOBILE_HIPRI].getNetworkInfo();
                    switch(result) {