Merge "Create a string for private DNS "On""
am: a64f8d9521
Change-Id: I154269dc91acbefdce3cb6f76513d6b4f08f568b
This commit is contained in:
@@ -126,11 +126,7 @@ public class PrivateDnsPreferenceController extends BasePreferenceController
|
||||
case PRIVATE_DNS_MODE_OFF:
|
||||
return res.getString(R.string.private_dns_mode_off);
|
||||
case PRIVATE_DNS_MODE_OPPORTUNISTIC:
|
||||
// TODO (b/79122154) : create a string specifically for this, instead of
|
||||
// hijacking a string from notifications. This is necessary at this time
|
||||
// because string freeze is in the past and this string has the right
|
||||
// content at this moment.
|
||||
return dnsesResolved ? res.getString(R.string.switch_on_text)
|
||||
return dnsesResolved ? res.getString(R.string.private_dns_mode_on)
|
||||
: res.getString(R.string.private_dns_mode_opportunistic);
|
||||
case PRIVATE_DNS_MODE_PROVIDER_HOSTNAME:
|
||||
return dnsesResolved
|
||||
|
Reference in New Issue
Block a user