Snap for 8650774 from 7af580d08b
to tm-qpr1-release
Change-Id: Iae33b5e630b29cdfe012a48f81f311469385443f
This commit is contained in:
@@ -2965,7 +2965,7 @@
|
|||||||
<!-- Display settings screen, "QHD+" screen resolution summary [CHAR LIMIT=NONE] -->
|
<!-- Display settings screen, "QHD+" screen resolution summary [CHAR LIMIT=NONE] -->
|
||||||
<string name="screen_resolution_summary_highest">1440p QHD+</string>
|
<string name="screen_resolution_summary_highest">1440p QHD+</string>
|
||||||
<!-- The footer message for switch screen resolution [CHAR LIMIT=NONE] -->
|
<!-- The footer message for switch screen resolution [CHAR LIMIT=NONE] -->
|
||||||
<string name="screen_resolution_footer">Full resolution uses more of your battery. Switching to full resolution may cause some apps to restart.</string>
|
<string name="screen_resolution_footer">Full resolution uses more of your battery. Switching your resolution may cause some apps to restart.</string>
|
||||||
|
|
||||||
<!-- Display settings screen, Color mode settings title [CHAR LIMIT=30] -->
|
<!-- Display settings screen, Color mode settings title [CHAR LIMIT=30] -->
|
||||||
<string name="color_mode_title">Colors</string>
|
<string name="color_mode_title">Colors</string>
|
||||||
|
@@ -274,8 +274,12 @@ public class SubscriptionsPreferenceController extends AbstractPreferenceControl
|
|||||||
String result = mSubsPrefCtrlInjector.getNetworkType(
|
String result = mSubsPrefCtrlInjector.getNetworkType(
|
||||||
mContext, mConfig, mTelephonyDisplayInfo, subId, isCarrierNetworkActive);
|
mContext, mConfig, mTelephonyDisplayInfo, subId, isCarrierNetworkActive);
|
||||||
if (mSubsPrefCtrlInjector.isActiveCellularNetwork(mContext) || isCarrierNetworkActive) {
|
if (mSubsPrefCtrlInjector.isActiveCellularNetwork(mContext) || isCarrierNetworkActive) {
|
||||||
|
if (result.isEmpty()) {
|
||||||
|
result = mContext.getString(R.string.mobile_data_connection_active);
|
||||||
|
} else {
|
||||||
result = mContext.getString(R.string.preference_summary_default_combination,
|
result = mContext.getString(R.string.preference_summary_default_combination,
|
||||||
mContext.getString(R.string.mobile_data_connection_active), result);
|
mContext.getString(R.string.mobile_data_connection_active), result);
|
||||||
|
}
|
||||||
} else if (!isDataInService) {
|
} else if (!isDataInService) {
|
||||||
result = mContext.getString(R.string.mobile_data_no_connection);
|
result = mContext.getString(R.string.mobile_data_no_connection);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user