Rollback telephony resources on telephony service
Bug: 149776042
Test: TeleServiceTests
Change-Id: I8f08a553e4fe42389bbcb8d13893985b40c159eb
diff --git a/src/com/android/phone/PhoneInterfaceManager.java b/src/com/android/phone/PhoneInterfaceManager.java
index 43613d0..2cd2f05 100755
--- a/src/com/android/phone/PhoneInterfaceManager.java
+++ b/src/com/android/phone/PhoneInterfaceManager.java
@@ -171,7 +171,6 @@
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;
@@ -8308,10 +8307,8 @@
//TODO investigate if this API should require proper permission check in R b/133791609
final long identity = Binder.clearCallingIdentity();
try {
- return TelephonyResourceUtils
- .getResourcesForSubId(getDefaultPhone().getContext(), subId)
- .getString(com.android.telephony.resources.R.string
- .config_mms_user_agent_profile_url);
+ return SubscriptionManager.getResourcesForSubId(getDefaultPhone().getContext(), subId)
+ .getString(com.android.internal.R.string.config_mms_user_agent_profile_url);
} finally {
Binder.restoreCallingIdentity(identity);
}
@@ -8322,9 +8319,8 @@
//TODO investigate if this API should require proper permission check in R b/133791609
final long identity = Binder.clearCallingIdentity();
try {
- return TelephonyResourceUtils
- .getResourcesForSubId(getDefaultPhone().getContext(), subId)
- .getString(com.android.telephony.resources.R.string.config_mms_user_agent);
+ return SubscriptionManager.getResourcesForSubId(getDefaultPhone().getContext(), subId)
+ .getString(com.android.internal.R.string.config_mms_user_agent);
} finally {
Binder.restoreCallingIdentity(identity);
}