am 0a8b6f2b: am efaa19d9: Fix fingerprint enrolling bug.

* commit '0a8b6f2b9a1b16831565c932b707c59f2ec36491':
  Fix fingerprint enrolling bug.
This commit is contained in:
Jim Miller
2015-08-01 16:37:53 +00:00
committed by Android Git Automerger

View File

@@ -451,11 +451,13 @@ public class FingerprintSettings extends SubSettings {
@Override
public void onDestroy() {
super.onDestroy();
if (getActivity().isFinishing()) {
int result = mFingerprintManager.postEnroll();
if (result < 0) {
Log.w(TAG, "postEnroll failed: result = " + result);
}
}
}
private Drawable getHighlightDrawable() {
if (mHighlightDrawable == null) {