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

This commit is contained in:
Udam Saini
2016-03-30 20:05:45 +00:00
committed by Android (Google) Code Review

View File

@@ -648,8 +648,13 @@ public class ChooseLockGeneric extends SettingsActivity {
mFingerprintManager.setActiveUser(UserHandle.myUserId()); 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 @Override