Commit 611982be authored by jdufault's avatar jdufault Committed by Commit bot

Fix search always navigating to quick unlock authenticate screen.

BUG=629598
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation

Review-Url: https://codereview.chromium.org/2160423002
Cr-Commit-Position: refs/heads/master@{#406617}
parent 33bd96dd
......@@ -79,7 +79,8 @@ Polymer({
chrome.quickUnlockPrivate.onActiveModesChanged.addListener(
this.boundOnActiveModesChanged_);
this.askForPasswordIfUnset();
if (this.isScreenActive(QuickUnlockScreen.CHOOSE_METHOD))
this.askForPasswordIfUnset();
},
/** @override */
......
......@@ -104,7 +104,9 @@ Polymer({
/** @override */
attached: function() {
this.resetState_();
this.askForPasswordIfUnset();
if (this.isScreenActive(QuickUnlockScreen.SETUP_PIN))
this.askForPasswordIfUnset();
},
/**
......
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