* commit 'd0c09c48aec75cffc7cbcea1d5e2aa1e90ac7ab7': Fix fingerprint enrolling bug.
This commit is contained in:
@@ -451,9 +451,11 @@ public class FingerprintSettings extends SubSettings {
|
|||||||
@Override
|
@Override
|
||||||
public void onDestroy() {
|
public void onDestroy() {
|
||||||
super.onDestroy();
|
super.onDestroy();
|
||||||
int result = mFingerprintManager.postEnroll();
|
if (getActivity().isFinishing()) {
|
||||||
if (result < 0) {
|
int result = mFingerprintManager.postEnroll();
|
||||||
Log.w(TAG, "postEnroll failed: result = " + result);
|
if (result < 0) {
|
||||||
|
Log.w(TAG, "postEnroll failed: result = " + result);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user