Merge "BUG 5457035 : Anti-spoofing : DO NOT MERGE" into jb-dev

This commit is contained in:
Uriel Rodriguez
2012-05-31 08:44:15 -07:00
committed by Android (Google) Code Review

View File

@@ -468,7 +468,8 @@ public class FaceUnlock implements BiometricSensorUnlock, Handler.Callback {
if (!mServiceRunning) {
Log.d(TAG, "Starting Face Unlock");
try {
mService.startUi(windowToken, x, y, w, h, false);
mService.startUi(windowToken, x, y, w, h,
mLockPatternUtils.isBiometricWeakLivelinessEnabled());
} catch (RemoteException e) {
Log.e(TAG, "Caught exception starting Face Unlock: " + e.toString());
return;