Skip to content

Commit 2753e82

Browse files
John HuangAndroid (Google) Code Review
authored andcommitted
Merge "Fix teardown of secondary connections on CDMA" into ics-mr1
2 parents 6247258 + 2fceb7f commit 2753e82

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

telephony/java/com/android/internal/telephony/DataConnectionTracker.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1029,8 +1029,10 @@ protected void onEnableApn(int apnId, int enabled) {
10291029
didDisable = true;
10301030
}
10311031
}
1032-
if (didDisable && enabledCount == 0) {
1033-
onCleanUpConnection(true, apnId, Phone.REASON_DATA_DISABLED);
1032+
if (didDisable) {
1033+
if (enabledCount == 0) {
1034+
onCleanUpConnection(true, apnId, Phone.REASON_DATA_DISABLED);
1035+
}
10341036

10351037
// send the disconnect msg manually, since the normal route wont send
10361038
// it (it's not enabled)

0 commit comments

Comments
 (0)