am 2753e826: Merge "Fix teardown of secondary connections on CDMA" into ics-mr1

* commit '2753e826b2d0e7a4c5f80c3e825afa4aa579942b':
  Fix teardown of secondary connections on CDMA
This commit is contained in:
John Huang
2012-01-13 11:39:03 -08:00
committed by Android Git Automerger

View File

@ -1029,8 +1029,10 @@ public abstract class DataConnectionTracker extends Handler {
didDisable = true;
}
}
if (didDisable && enabledCount == 0) {
onCleanUpConnection(true, apnId, Phone.REASON_DATA_DISABLED);
if (didDisable) {
if (enabledCount == 0) {
onCleanUpConnection(true, apnId, Phone.REASON_DATA_DISABLED);
}
// send the disconnect msg manually, since the normal route wont send
// it (it's not enabled)