Merge "Wait for fingerprints to be removed (Partial fix)." into nyc-dev am: 1f361c2

am: 2a488fc

* commit '2a488fc54010a827082de2aa3d4308ab9ddbf30f':
  Wait for fingerprints to be removed (Partial fix).

Change-Id: I5f08ac6701ec12f4329e1974dd4acc15661f2966
This commit is contained in:
Udam Saini
2016-03-30 20:17:33 +00:00
committed by android-build-merger

View File

@@ -648,8 +648,13 @@ public class ChooseLockGeneric extends SettingsActivity {
mFingerprintManager.setActiveUser(UserHandle.myUserId());
}
});
} else {
// The removal callback will call finish, once all fingerprints are removed.
// We need to wait for that to occur, otherwise, the UI will still show that
// fingerprints exist even though they are (about to) be removed depending on
// the race condition.
finish();
}
finish();
}
@Override