SipSettings: changes due to converting SipErrorCode from enum
Change-Id: I42ca63f120b0063a19332058828164ee1a74ae63
diff --git a/src/com/android/phone/sip/SipSettings.java b/src/com/android/phone/sip/SipSettings.java
index fd519c8..10ccdd3 100644
--- a/src/com/android/phone/sip/SipSettings.java
+++ b/src/com/android/phone/sip/SipSettings.java
@@ -430,14 +430,14 @@
R.string.registration_status_registering));
}
- public void onRegistrationFailed(String profileUri,
- SipErrorCode errorCode, String message) {
+ public void onRegistrationFailed(String profileUri, int errorCode,
+ String message) {
switch (errorCode) {
- case IN_PROGRESS:
+ case SipErrorCode.IN_PROGRESS:
showRegistrationMessage(profileUri, getString(
R.string.registration_status_still_trying));
break;
- case INVALID_CREDENTIALS:
+ case SipErrorCode.INVALID_CREDENTIALS:
showRegistrationMessage(profileUri, getString(
R.string.registration_status_failed, message));
break;