Reword "no internet access" dialog to conform with mocks.

Bug: 20081183
Bug: 20739299
Change-Id: I63e58dafcba879c56669766f652729a73ef722e2
This commit is contained in:
Lorenzo Colitti
2015-06-10 15:16:36 +09:00
parent 1276b21317
commit dcc6155426
2 changed files with 3 additions and 3 deletions

View File

@@ -1588,7 +1588,7 @@
<string name="wifi_hotspot_connect">CONNECT</string> <string name="wifi_hotspot_connect">CONNECT</string>
<!-- Dialog text to tell the user that the selected network does not have Internet access. --> <!-- Dialog text to tell the user that the selected network does not have Internet access. -->
<string name="no_internet_access_text">This network has no Internet access. Use this network anyway?</string> <string name="no_internet_access_text">This network has no Internet access. Stay connected?</string>
<string name="no_internet_access_remember">Don\u2019t ask again for this network</string> <string name="no_internet_access_remember">Don\u2019t ask again for this network</string>
<!-- Button label to connect to a Wi-Fi network --> <!-- Button label to connect to a Wi-Fi network -->

View File

@@ -112,8 +112,8 @@ public final class WifiNoInternetDialog extends AlertActivity implements
final AlertController.AlertParams ap = mAlertParams; final AlertController.AlertParams ap = mAlertParams;
ap.mTitle = mNetworkName; ap.mTitle = mNetworkName;
ap.mMessage = getString(R.string.no_internet_access_text); ap.mMessage = getString(R.string.no_internet_access_text);
ap.mPositiveButtonText = getString(android.R.string.ok); ap.mPositiveButtonText = getString(R.string.yes);
ap.mNegativeButtonText = getString(android.R.string.cancel); ap.mNegativeButtonText = getString(R.string.no);
ap.mPositiveButtonListener = this; ap.mPositiveButtonListener = this;
ap.mNegativeButtonListener = this; ap.mNegativeButtonListener = this;