checkMobileProvisioning is not using sendNotification.
Change-Id: Ie5b98b462b29fe9339fcb8207d2d33e3028a155c
This commit is contained in:
@@ -3670,7 +3670,7 @@ public class ConnectivityService extends IConnectivityManager.Stub {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int checkMobileProvisioning(boolean sendNotification, int suggestedTimeOutMs,
|
public int checkMobileProvisioning(final boolean sendNotification, int suggestedTimeOutMs,
|
||||||
final ResultReceiver resultReceiver) {
|
final ResultReceiver resultReceiver) {
|
||||||
log("checkMobileProvisioning: E sendNotification=" + sendNotification
|
log("checkMobileProvisioning: E sendNotification=" + sendNotification
|
||||||
+ " suggestedTimeOutMs=" + suggestedTimeOutMs
|
+ " suggestedTimeOutMs=" + suggestedTimeOutMs
|
||||||
@@ -3703,6 +3703,10 @@ public class ConnectivityService extends IConnectivityManager.Stub {
|
|||||||
log("CheckMp.onComplete: send result");
|
log("CheckMp.onComplete: send result");
|
||||||
resultReceiver.send(result, null);
|
resultReceiver.send(result, null);
|
||||||
}
|
}
|
||||||
|
if (!sendNotification) {
|
||||||
|
log("CheckMp.onComplete: done, not sending notification");
|
||||||
|
return;
|
||||||
|
}
|
||||||
NetworkInfo ni =
|
NetworkInfo ni =
|
||||||
mNetTrackers[ConnectivityManager.TYPE_MOBILE_HIPRI].getNetworkInfo();
|
mNetTrackers[ConnectivityManager.TYPE_MOBILE_HIPRI].getNetworkInfo();
|
||||||
switch(result) {
|
switch(result) {
|
||||||
|
|||||||
Reference in New Issue
Block a user