Do not merge: LTE: Fix SST for CDMALTEPhone.

Change-Id: I4dc3d3bb4dba968694a5856624448b7ba1e35601
This commit is contained in:
Ramesh Sudini
2011-03-04 10:01:06 -06:00
committed by Wink Saville
parent 88d852969a
commit 75acebd02d
2 changed files with 11 additions and 4 deletions

View File

@@ -54,13 +54,16 @@ public class CDMALTEPhone extends CDMAPhone {
public CDMALTEPhone(Context context, CommandsInterface ci, PhoneNotifier notifier,
boolean unitTestMode) {
super(context, ci, notifier, false);
mSST = new CdmaLteServiceStateTracker(this);
init(context, notifier);
mSIMRecords = new SIMRecords(this);
mSimCard = new SimCard(this, LOG_TAG, DBG);
}
@Override
protected void initSST() {
mSST = new CdmaLteServiceStateTracker(this);
}
public void dispose() {
synchronized (PhoneProxy.lockForRadioTechnologyChange) {
super.dispose();

View File

@@ -142,17 +142,21 @@ public class CDMAPhone extends PhoneBase {
// Constructors
public CDMAPhone(Context context, CommandsInterface ci, PhoneNotifier notifier) {
super(notifier, context, ci, false);
mSST = new CdmaServiceStateTracker (this);
initSST();
init(context, notifier);
}
public CDMAPhone(Context context, CommandsInterface ci, PhoneNotifier notifier,
boolean unitTestMode) {
super(notifier, context, ci, unitTestMode);
mSST = new CdmaServiceStateTracker (this);
initSST();
init(context, notifier);
}
protected void initSST() {
mSST = new CdmaServiceStateTracker(this);
}
protected void init(Context context, PhoneNotifier notifier) {
mCM.setPhoneType(Phone.PHONE_TYPE_CDMA);
mCT = new CdmaCallTracker(this);