diff --git a/res/values/strings.xml b/res/values/strings.xml index 26fbd795575..25f4a25f2ef 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -6788,6 +6788,10 @@ Adaptive connectivity Extends battery life and improves device performance by automatically managing your network connections + + On + + Off Credential storage diff --git a/src/com/android/settings/network/AdaptiveConnectivityPreferenceController.java b/src/com/android/settings/network/AdaptiveConnectivityPreferenceController.java index 33d1d5b66cd..a938515b3e2 100644 --- a/src/com/android/settings/network/AdaptiveConnectivityPreferenceController.java +++ b/src/com/android/settings/network/AdaptiveConnectivityPreferenceController.java @@ -48,7 +48,7 @@ public class AdaptiveConnectivityPreferenceController extends BasePreferenceCont public CharSequence getSummary() { return Settings.Secure.getInt(mContext.getContentResolver(), Settings.Secure.ADAPTIVE_CONNECTIVITY_ENABLED, 1) == 1 - ? mContext.getString(R.string.switch_on_text) - : mContext.getString(R.string.switch_off_text); + ? mContext.getString(R.string.adaptive_connectivity_switch_on) + : mContext.getString(R.string.adaptive_connectivity_switch_off); } }