Repoint telephony related translations
Repointed most translations to telephony resources
Test: TeleServiceTests
Bug: 149401237
Change-Id: I15dcea44b758cddf67d2d291cd8833582580cd53
diff --git a/src/com/android/phone/PhoneInterfaceManager.java b/src/com/android/phone/PhoneInterfaceManager.java
index db74270..b5884eb 100755
--- a/src/com/android/phone/PhoneInterfaceManager.java
+++ b/src/com/android/phone/PhoneInterfaceManager.java
@@ -171,6 +171,7 @@
import com.android.internal.telephony.uicc.UiccProfile;
import com.android.internal.telephony.uicc.UiccSlot;
import com.android.internal.telephony.util.LocaleUtils;
+import com.android.internal.telephony.util.TelephonyResourceUtils;
import com.android.internal.telephony.util.VoicemailNotificationSettingsUtil;
import com.android.internal.util.HexDump;
import com.android.phone.settings.PickSmsSubscriptionActivity;
@@ -8307,8 +8308,10 @@
//TODO investigate if this API should require proper permission check in R b/133791609
final long identity = Binder.clearCallingIdentity();
try {
- return SubscriptionManager.getResourcesForSubId(getDefaultPhone().getContext(), subId)
- .getString(com.android.internal.R.string.config_mms_user_agent_profile_url);
+ return TelephonyResourceUtils
+ .getResourcesForSubId(getDefaultPhone().getContext(), subId)
+ .getString(com.android.telephony.resources.R.string
+ .config_mms_user_agent_profile_url);
} finally {
Binder.restoreCallingIdentity(identity);
}
@@ -8319,8 +8322,9 @@
//TODO investigate if this API should require proper permission check in R b/133791609
final long identity = Binder.clearCallingIdentity();
try {
- return SubscriptionManager.getResourcesForSubId(getDefaultPhone().getContext(), subId)
- .getString(com.android.internal.R.string.config_mms_user_agent);
+ return TelephonyResourceUtils
+ .getResourcesForSubId(getDefaultPhone().getContext(), subId)
+ .getString(com.android.telephony.resources.R.string.config_mms_user_agent);
} finally {
Binder.restoreCallingIdentity(identity);
}