Do a disconnect if ApnContext is ready but retrying or failed.
authorWink Saville <wink@google.com>
Tue, 14 May 2013 18:09:20 +0000 (11:09 -0700)
committerWink Saville <wink@google.com>
Tue, 14 May 2013 18:09:20 +0000 (11:09 -0700)
commit2428693913ae731d4ace3414429f5e91af24ea36
treef6293c804cfc5e6c1e30a1386ba3a4af0c9867b7
parenta0f04ae3f07c686ddbc4d83edf0f1b7d8d1b4a0a
Do a disconnect if ApnContext is ready but retrying or failed.

This change allows enabling of a ready ApnContext to reconnect if the
ApnContext is IDLE, FAILED or RETRYING. Without this change toggling
wifi or otherwise enabling the connection would not cause the connection
to be retried. Instead, toggling airplane mode would be required.

Bug: 8849653
Change-Id: I83f44dbfd412f4b0122a2108e22f36db94c59d18
src/java/com/android/internal/telephony/dataconnection/DcTracker.java