Move mobile provisioning APN support into telephony and rework.
authorPaul Jensen <pauljensen@google.com>
Wed, 17 Sep 2014 17:49:13 +0000 (13:49 -0400)
committerPaul Jensen <pauljensen@google.com>
Thu, 25 Sep 2014 23:55:29 +0000 (23:55 +0000)
commitb449dc75ef4b9cb996c34a11e758f7e6ca193240
tree73b371a243ddb832fe7c0333e108a5464a5d768a
parent1b2607bdf4ee998c914eefdcc82fbd5e1a9d0e59
Move mobile provisioning APN support into telephony and rework.

This code had to be reworked to cooperate with the new multi-network
logic.  The provisioning flow when using a provisioning APN is:
1. DcTracker detects connecting to provisioning APN, puts up
   notification, and turns off radio (as per b/13190133, b/10328264).
2. User selects notification. ProvisionNotificationBroadcastReceiver
   receives intent, turns on radio, enables fail-fast mode,
   sets up provisioning logic in DcTrackerBase.
3. When radio connects again, DcTracker.completeConnection() launches
   browser to facilitate activation.  Note that activation can be
   performed via any internet connection so it's not a problem that
   browser isn't multi-network aware.

bug:17324098
Change-Id: Ibd1c42b1a75795f90a6483d3d0a5a14f88b193d8
src/java/com/android/internal/telephony/dataconnection/DcTracker.java