OSDN Git Service

Tighten condition for calling checkMobileProvisioning.
authorWink Saville <wink@google.com>
Sat, 14 Sep 2013 16:04:53 +0000 (09:04 -0700)
committerWink Saville <wink@google.com>
Sat, 14 Sep 2013 16:04:53 +0000 (09:04 -0700)
commit127beffb059492e5e979767b5146cce247a3dee0
treecf555381a874cfd7ec07a2750f5e67bd366f3694
parentc8db445e42f1b60b9af036cb0d793ee11ae4c9c6
Tighten condition for calling checkMobileProvisioning.

Add the condition that the connected network needs to be TYPE_MOBILE.
This eliminates checking on connecting to secondary networks like
FOTA, MMS, SUPL ...

This reduces unnecessary attempts to bring up multiple connections at
the same time. Especially in the light of the trouble we're having with HFA
on Sprint, where we don't want to connect to any other network until HFA
has completed.

Bug: 10758001
Change-Id: Id294536b70304a51de4752bc1a4ffac734f10f1a
services/java/com/android/server/ConnectivityService.java