File tree Expand file tree Collapse file tree
telephony/java/com/android/internal/telephony Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3636import com .android .internal .telephony .gsm .NetworkInfo ;
3737import com .android .internal .telephony .gsm .GsmDataConnection ;
3838import com .android .internal .telephony .test .SimulatedRadioControl ;
39- import com .android .internal .telephony .CallManager ;
4039
4140import java .util .List ;
4241
@@ -89,7 +88,6 @@ public void handleMessage(Message msg) {
8988
9089 if (mOutgoingPhone .equals ("GSM" )) {
9190 logd ("Make a new CDMAPhone and destroy the old GSMPhone." );
92- CallManager .getInstance ().unregisterPhone (mActivePhone );
9391
9492 ((GSMPhone )mActivePhone ).dispose ();
9593 Phone oldPhone = mActivePhone ;
@@ -102,11 +100,9 @@ public void handleMessage(Message msg) {
102100
103101 mActivePhone = PhoneFactory .getCdmaPhone ();
104102 ((GSMPhone )oldPhone ).removeReferences ();
105- CallManager .getInstance ().registerPhone (mActivePhone );
106103 oldPhone = null ;
107104 } else {
108105 logd ("Make a new GSMPhone and destroy the old CDMAPhone." );
109- CallManager .getInstance ().unregisterPhone (mActivePhone );
110106
111107 ((CDMAPhone )mActivePhone ).dispose ();
112108 //mActivePhone = null;
@@ -120,7 +116,6 @@ public void handleMessage(Message msg) {
120116
121117 mActivePhone = PhoneFactory .getGsmPhone ();
122118 ((CDMAPhone )oldPhone ).removeReferences ();
123- CallManager .getInstance ().registerPhone (mActivePhone );
124119 oldPhone = null ;
125120 }
126121
You can’t perform that action at this time.
0 commit comments