File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed
telephony/java/com/android/internal/telephony Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change 3535import com .android .internal .telephony .gsm .UsimServiceTable ;
3636import com .android .internal .telephony .ims .IsimRecords ;
3737import com .android .internal .telephony .test .SimulatedRadioControl ;
38- import com .android .internal .telephony .CallManager ;
3938
4039import java .util .List ;
4140
@@ -88,7 +87,6 @@ public void handleMessage(Message msg) {
8887
8988 if (mOutgoingPhone .equals ("GSM" )) {
9089 logd ("Make a new CDMAPhone and destroy the old GSMPhone." );
91- CallManager .getInstance ().unregisterPhone (mActivePhone );
9290
9391 ((GSMPhone )mActivePhone ).dispose ();
9492 Phone oldPhone = mActivePhone ;
@@ -101,11 +99,9 @@ public void handleMessage(Message msg) {
10199
102100 mActivePhone = PhoneFactory .getCdmaPhone ();
103101 ((GSMPhone )oldPhone ).removeReferences ();
104- CallManager .getInstance ().registerPhone (mActivePhone );
105102 oldPhone = null ;
106103 } else {
107104 logd ("Make a new GSMPhone and destroy the old CDMAPhone." );
108- CallManager .getInstance ().unregisterPhone (mActivePhone );
109105
110106 ((CDMAPhone )mActivePhone ).dispose ();
111107 //mActivePhone = null;
@@ -119,7 +115,6 @@ public void handleMessage(Message msg) {
119115
120116 mActivePhone = PhoneFactory .getGsmPhone ();
121117 ((CDMAPhone )oldPhone ).removeReferences ();
122- CallManager .getInstance ().registerPhone (mActivePhone );
123118 oldPhone = null ;
124119 }
125120
You can’t perform that action at this time.
0 commit comments