Loading src/java/com/android/internal/telephony/GsmCdmaCallTracker.java +5 −3 Original line number Diff line number Diff line Loading @@ -1259,7 +1259,7 @@ public class GsmCdmaCallTracker extends CallTracker { int count = call.mConnections.size(); for (int i = 0; i < count; i++) { GsmCdmaConnection cn = (GsmCdmaConnection)call.mConnections.get(i); if (cn.getGsmCdmaIndex() == index) { if (!cn.mDisconnected && cn.getGsmCdmaIndex() == index) { mCi.hangupConnection(index, obtainCompleteMessage()); return; } Loading @@ -1273,8 +1273,10 @@ public class GsmCdmaCallTracker extends CallTracker { int count = call.mConnections.size(); for (int i = 0; i < count; i++) { GsmCdmaConnection cn = (GsmCdmaConnection)call.mConnections.get(i); if (!cn.mDisconnected) { mCi.hangupConnection(cn.getGsmCdmaIndex(), obtainCompleteMessage()); } } } catch (CallStateException ex) { Rlog.e(LOG_TAG, "hangupConnectionByIndex caught " + ex); } Loading @@ -1285,7 +1287,7 @@ public class GsmCdmaCallTracker extends CallTracker { int count = call.mConnections.size(); for (int i = 0; i < count; i++) { GsmCdmaConnection cn = (GsmCdmaConnection)call.mConnections.get(i); if (cn.getGsmCdmaIndex() == index) { if (!cn.mDisconnected && cn.getGsmCdmaIndex() == index) { return cn; } } Loading Loading
src/java/com/android/internal/telephony/GsmCdmaCallTracker.java +5 −3 Original line number Diff line number Diff line Loading @@ -1259,7 +1259,7 @@ public class GsmCdmaCallTracker extends CallTracker { int count = call.mConnections.size(); for (int i = 0; i < count; i++) { GsmCdmaConnection cn = (GsmCdmaConnection)call.mConnections.get(i); if (cn.getGsmCdmaIndex() == index) { if (!cn.mDisconnected && cn.getGsmCdmaIndex() == index) { mCi.hangupConnection(index, obtainCompleteMessage()); return; } Loading @@ -1273,8 +1273,10 @@ public class GsmCdmaCallTracker extends CallTracker { int count = call.mConnections.size(); for (int i = 0; i < count; i++) { GsmCdmaConnection cn = (GsmCdmaConnection)call.mConnections.get(i); if (!cn.mDisconnected) { mCi.hangupConnection(cn.getGsmCdmaIndex(), obtainCompleteMessage()); } } } catch (CallStateException ex) { Rlog.e(LOG_TAG, "hangupConnectionByIndex caught " + ex); } Loading @@ -1285,7 +1287,7 @@ public class GsmCdmaCallTracker extends CallTracker { int count = call.mConnections.size(); for (int i = 0; i < count; i++) { GsmCdmaConnection cn = (GsmCdmaConnection)call.mConnections.get(i); if (cn.getGsmCdmaIndex() == index) { if (!cn.mDisconnected && cn.getGsmCdmaIndex() == index) { return cn; } } Loading