Merge "Get the resources associated with subid to support MSIM" into qt-dev
This commit is contained in:
@@ -5247,7 +5247,7 @@ public class TelephonyManager {
|
||||
*/
|
||||
public String getMmsUserAgent() {
|
||||
if (mContext == null) return null;
|
||||
return mContext.getResources().getString(
|
||||
return SubscriptionManager.getResourcesForSubId(mContext, getSubId()).getString(
|
||||
com.android.internal.R.string.config_mms_user_agent);
|
||||
}
|
||||
|
||||
@@ -5256,7 +5256,7 @@ public class TelephonyManager {
|
||||
*/
|
||||
public String getMmsUAProfUrl() {
|
||||
if (mContext == null) return null;
|
||||
return mContext.getResources().getString(
|
||||
return SubscriptionManager.getResourcesForSubId(mContext, getSubId()).getString(
|
||||
com.android.internal.R.string.config_mms_user_agent_profile_url);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user