Release DataConnection when a rety is interupted
authorRobert Greenwalt <rgreenwalt@google.com>
Thu, 30 Jul 2015 00:57:12 +0000 (17:57 -0700)
committerRobert Greenwalt <rgreenwalt@google.com>
Thu, 30 Jul 2015 00:57:12 +0000 (17:57 -0700)
commitee665b78ad648abd98b019a9c9047f206ed22994
tree4f9064dce8e9a53fe8a409a4d49c0078a6c5ffd4
parent87c17cbc78891d2cc55324a13c1b6ff05d933e38
Release DataConnection when a rety is interupted

We had code that simply set the ApnContexts state to IDLE, but
there was still a connection between ApnContext and DataConnection,
so when looking for a DC, we'd skip this one (it's busy) and when
the rety alarm fires we end up with a second DC attempting to connect
to the same APN.

bug:22410092
Change-Id: Id4ab6a4f1f08588e552e846a1986f93192a72568
src/java/com/android/internal/telephony/dataconnection/ApnContext.java
src/java/com/android/internal/telephony/dataconnection/DcTracker.java