Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1869)

Unified Diff: chrome/browser/signin/easy_unlock_screenlock_state_handler.cc

Issue 534073003: easy-unlock: Enable hardlock in states other than AUTHENTICATED (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/signin/easy_unlock_screenlock_state_handler_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/signin/easy_unlock_screenlock_state_handler.cc
diff --git a/chrome/browser/signin/easy_unlock_screenlock_state_handler.cc b/chrome/browser/signin/easy_unlock_screenlock_state_handler.cc
index 0be0d5a4247b0fe73083af0c59795ff55f4beac9..a2b608384f62f2d268ee7f730316234d40aac8e8 100644
--- a/chrome/browser/signin/easy_unlock_screenlock_state_handler.cc
+++ b/chrome/browser/signin/easy_unlock_screenlock_state_handler.cc
@@ -52,7 +52,7 @@ bool HasAnimation(EasyUnlockScreenlockStateHandler::State state) {
}
bool HardlockOnClick(EasyUnlockScreenlockStateHandler::State state) {
- return state == EasyUnlockScreenlockStateHandler::STATE_AUTHENTICATED;
+ return state != EasyUnlockScreenlockStateHandler::STATE_INACTIVE;
}
size_t GetTooltipResourceId(EasyUnlockScreenlockStateHandler::State state) {
« no previous file with comments | « no previous file | chrome/browser/signin/easy_unlock_screenlock_state_handler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698