OSDN Git Service

When a SIM is changed check mobile provisioning.
authorWink Saville <wink@google.com>
Wed, 17 Jul 2013 00:16:37 +0000 (17:16 -0700)
committerWink Saville <wink@google.com>
Wed, 17 Jul 2013 00:16:37 +0000 (17:16 -0700)
commitfde1ac9bec7b0b868525d6cd0d0d1d96787b59fc
tree99c9f93ebc6070ff81efac4686d9131452c85dd8
parentc0f5bb70b72c25c0057d2318bbcc8d79553d1e12
When a SIM is changed check mobile provisioning.

A simple mechanism for doing this is to take advantage of the fact
that we require the device to reboot after a sim has been changed.
Thus when connectivity service is started we wait to get a connection
then call checkMobileProvisioning once. We also add a check that
the DEVICE_PROVISIONED is true, i.e. SetupWizard has been run.

Bug: 9784024
Change-Id: I5c1936744f6fc55a447ae44cd36eec3849d27e21
services/java/com/android/server/ConnectivityService.java