Update the error msg on no wifi data.

Bug:3101304
Change-Id: Ice6234ed8968ee0a94c4e9184b298dd9c382a676
diff --git a/res/values/strings.xml b/res/values/strings.xml
index e51656f..3e68e91 100755
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -1321,6 +1321,8 @@
     <string name="registration_status_not_receiving">Not receiving calls</string>
     <!-- Text of Internet-call registration status, no data connection [CHAR LIMIT=NONE] -->
     <string name="registration_status_no_data">Account registration stopped because there is no Internet connection</string>
+    <!-- Text of Internet-call registration status, no Wi-Fi connection [CHAR LIMIT=NONE] -->
+    <string name="registration_status_no_wifi_data">Account registration stopped because there is no Wi-Fi connection</string>
     <!-- Text of Internet-call registration status, registration process is not running due to some error [CHAR LIMIT=NONE] -->
     <string name="registration_status_not_running">Account registration failed</string>
     <!-- Text of Internet-call registration status, currently we can receive calls on this account [CHAR LIMIT=NONE] -->
diff --git a/src/com/android/phone/sip/SipSettings.java b/src/com/android/phone/sip/SipSettings.java
index 247e64a..c14a403 100644
--- a/src/com/android/phone/sip/SipSettings.java
+++ b/src/com/android/phone/sip/SipSettings.java
@@ -420,8 +420,13 @@
                                 R.string.registration_status_server_unreachable));
                         break;
                     case SipErrorCode.DATA_CONNECTION_LOST:
-                        showRegistrationMessage(profileUri, getString(
-                                R.string.registration_status_no_data));
+                        if (SipManager.isSipWifiOnly(getApplicationContext())){
+                            showRegistrationMessage(profileUri, getString(
+                                    R.string.registration_status_no_wifi_data));
+                        } else {
+                            showRegistrationMessage(profileUri, getString(
+                                    R.string.registration_status_no_data));
+                        }
                         break;
                     case SipErrorCode.CLIENT_ERROR:
                         showRegistrationMessage(profileUri, getString(