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)
committerThe Android Automerger <android-build@google.com>
Wed, 17 Jul 2013 21:59:20 +0000 (14:59 -0700)
commitd8fe7fb881ccfb88e6f87dd3151ff1b5b2423ef0
treeab956085cd35526249a0c4af8ef412a23da21b20
parente6771c41e8ae905a616f3fd369d0eacfcd2003b9
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