commit | 73da5fe0feda040b200aa60fff15024ec38d7edc | [log] [tgz] |
---|---|---|
author | Danielle Millett <dmillett@google.com> | Tue Sep 13 16:20:05 2011 -0400 |
committer | Danielle Millett <dmillett@google.com> | Tue Sep 13 17:38:27 2011 -0400 |
tree | 663d19c32b1d112c243bd0ad81495ff7c520479b | |
parent | 1fbe7a8e828fd0fe8339d075da08aad701ab6e98 [diff] |
isPasswordEnabled and isPatternEnabled return true if used as backup method When facelock is enabled, isPasswordEnabled or isPatternEnabled will return true depending on which one is set as the backup method. This is a cleaner way to handle things, rather than specific cases for facelock in all the methods that call these functions. Change-Id: Iacb802b89626dfc13f2306de1a2e622ca9b69427