Removing dependence on enable_facelock

With this change, FaceUnlock is enabled by default when installed
fixes 5989485

Change-Id: Icbce3237ff533e8b7b88faf592ac4a1e143d5dc3
This commit is contained in:
Steven Ross
2012-02-14 08:11:39 -05:00
parent 4212d3fc73
commit c9237f41a4

View File

@@ -857,11 +857,6 @@ public class LockPatternUtils {
* @return Whether biometric weak lock is installed and that the front facing camera exists
*/
public boolean isBiometricWeakInstalled() {
// Check that the system flag was set
if (!OPTION_ENABLE_FACELOCK.equals(getString(LOCKSCREEN_OPTIONS))) {
return false;
}
// Check that it's installed
PackageManager pm = mContext.getPackageManager();
try {