| Index: chrome/browser/resources/options/browser_options.js
|
| diff --git a/chrome/browser/resources/options/browser_options.js b/chrome/browser/resources/options/browser_options.js
|
| index c67ef9011adaf3031f373bbea03ce54d4a0bcd07..d8721160072cf498386541f3312dba4bf6b6df8b 100644
|
| --- a/chrome/browser/resources/options/browser_options.js
|
| +++ b/chrome/browser/resources/options/browser_options.js
|
| @@ -1025,6 +1025,13 @@ cr.define('options', function() {
|
| * @param {boolean} hasPairing True if the current profile has a pairing.
|
| */
|
| updateEasyUnlock_: function(hasPairing) {
|
| + // Hide "Set up" UI when the language is not en-US.
|
| + // TODO(xiyuan): Remove this after M38.
|
| + if (loadTimeData.getBoolean('easyUnlockAllowed')) {
|
| + $('easy-unlock-section').hidden =
|
| + !hasPairing && navigator.language != 'en-US';
|
| + }
|
| +
|
| $('easy-unlock-setup').hidden = hasPairing;
|
| $('easy-unlock-enable').hidden = !hasPairing;
|
| if (!hasPairing && EasyUnlockTurnOffOverlay.getInstance().visible) {
|
|
|