Merge "Update Settings to match Framework"
This commit is contained in:
committed by
Android (Google) Code Review
commit
847865dca8
@@ -813,7 +813,7 @@ public class ChooseLockGeneric extends SettingsActivity {
|
||||
// TODO: figure out how to eliminate duplicated code. It's a bit hard due to the async-ness
|
||||
private void removeAllFaceForUserAndFinish(final int userId, RemovalTracker tracker) {
|
||||
if (mFaceManager != null && mFaceManager.isHardwareDetected()) {
|
||||
if (mFaceManager.hasEnrolledFaces(userId)) {
|
||||
if (mFaceManager.hasEnrolledTemplates(userId)) {
|
||||
mFaceManager.setActiveUser(userId);
|
||||
Face face = new Face(null, 0, 0);
|
||||
mFaceManager.remove(face, userId,
|
||||
|
Reference in New Issue
Block a user