summaryrefslogtreecommitdiffstats
path: root/phone/src/com/android/phone2/ChangeIccPinScreen.java
diff options
context:
space:
mode:
Diffstat (limited to 'phone/src/com/android/phone2/ChangeIccPinScreen.java')
-rw-r--r--phone/src/com/android/phone2/ChangeIccPinScreen.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/phone/src/com/android/phone2/ChangeIccPinScreen.java b/phone/src/com/android/phone2/ChangeIccPinScreen.java
index e890321..cae3441 100644
--- a/phone/src/com/android/phone2/ChangeIccPinScreen.java
+++ b/phone/src/com/android/phone2/ChangeIccPinScreen.java
@@ -37,6 +37,7 @@ import android.widget.Toast;
import com.android.internal.telephony.CommandException;
import com.android.internal.telephony.IccCard;
import com.android.internal.telephony.Phone;
+import com.android.internal.telephony.SipPhoneFactory;
/**
* "Change ICC PIN" UI for the Phone app.
@@ -91,7 +92,7 @@ public class ChangeIccPinScreen extends Activity {
public void onCreate(Bundle icicle) {
super.onCreate(icicle);
- mPhone = PhoneApp.getPhone();
+ mPhone = SipPhoneFactory.getDefaultPhone();
resolveIntent();