Merge "Show aditional WiFi calling message."
This commit is contained in:
committed by
Android (Google) Code Review
commit
7983dba5f6
19
res/values-mcc262-mnc02/strings.xml
Normal file
19
res/values-mcc262-mnc02/strings.xml
Normal file
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2017 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Wi-Fi Calling settings. Additional text displayed when Wi-Fi Calling is off. Default empty. [CHAR LIMIT=NONE] -->
|
||||
<string name="wifi_calling_off_explanation_2">\n\nYou can\u2019t make emergency calls through Wi-Fi calling. If you try to make an emergency call, your device will automatically use the mobile network. Emergency calls can only be made in areas with mobile network coverage.</string>
|
||||
</resources>
|
@@ -2127,6 +2127,8 @@
|
||||
</string-array>
|
||||
<!-- Wi-Fi Calling settings. Text displayed when Wi-Fi Calling is off -->
|
||||
<string name="wifi_calling_off_explanation">When Wi-Fi calling is on, your phone can route calls via Wi-Fi networks or your carrier\u2019s network, depending on your preference and which signal is stronger. Before turning on this feature, check with your carrier regarding fees and other details.</string>
|
||||
<!-- Wi-Fi Calling settings. Additional text displayed when Wi-Fi Calling is off. Default empty. [CHAR LIMIT=NONE] -->
|
||||
<string name="wifi_calling_off_explanation_2"></string>
|
||||
<!-- Title of a preference for updating emergency address [CHAR LIMIT=40] -->
|
||||
<string name="emergency_address_title">Update Emergency Address</string>
|
||||
<!-- Summary of Update Emergency Address preference, explaining usage of emergency address [CHAR LIMIT=NONE] -->
|
||||
|
@@ -152,7 +152,9 @@ public class WifiCallingSettings extends SettingsPreferenceFragment
|
||||
|
||||
mEmptyView = (TextView) getView().findViewById(android.R.id.empty);
|
||||
setEmptyView(mEmptyView);
|
||||
mEmptyView.setText(R.string.wifi_calling_off_explanation);
|
||||
String emptyViewText = activity.getString(R.string.wifi_calling_off_explanation)
|
||||
+ activity.getString(R.string.wifi_calling_off_explanation_2);
|
||||
mEmptyView.setText(emptyViewText);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user