Commit 8e7f26bb authored by Xinghui Lu's avatar Xinghui Lu Committed by Commit Bot

Update Safe Browsing summary in no protection state.

before: http://screen/JteFt6rNkc5
after: http://screen/wnMPBjYRwbh

Bug: 1097310
Change-Id: I7e6b98f9510dfc580f59cbc20927da3561d15ca7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2342282Reviewed-by: default avatarVarun Khaneja <vakh@chromium.org>
Commit-Queue: Xinghui Lu <xinghuilu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#796659}
parent 17b5ba11
......@@ -52,7 +52,7 @@ public class SecuritySettingsFragment extends PreferenceFragmentCompat
safeBrowsingStateString =
context.getString(R.string.safe_browsing_standard_protection_title);
} else if (safeBrowsingState == SafeBrowsingState.NO_SAFE_BROWSING) {
safeBrowsingStateString = context.getString(R.string.safe_browsing_no_protection_title);
return context.getString(R.string.prefs_safe_browsing_no_protection_summary);
} else {
assert false : "Should not be reached";
}
......
......@@ -971,6 +971,9 @@ Your Google account may have other forms of browsing history like searches and a
<message name="IDS_PREFS_SAFE_BROWSING_SUMMARY" desc="Summary for the Safe Browsing preferences.">
<ph name="SAFE_BROWSING_MODE">%1$s<ex>Enhanced protection</ex></ph> is on
</message>
<message name="IDS_PREFS_SAFE_BROWSING_NO_PROTECTION_SUMMARY" desc="Summary for the Safe Browsing preferences when Safe Browsing is off.">
Safe Browsing is off
</message>
<message name="IDS_PREFS_SECTION_SAFE_BROWSING_TITLE" desc="Title for the Safe Browsing section. [CHAR-LIMIT=32]">
Safe Browsing
</message>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment