Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d0c09c48 authored by Jim Miller's avatar Jim Miller Committed by Android Git Automerger
Browse files

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

* commit '0a8b6f2b':
  Fix fingerprint enrolling bug.
parents 87e9d8ac 0a8b6f2b
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -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) {