Skip to content
This repository has been archived by the owner on Apr 15, 2020. It is now read-only.

Handle mFingerprintManager null exception #183

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

xyxy616161
Copy link

On some devices,
(FingerprintManager) getSystemService(Context.FINGERPRINT_SERVICE)
may return a null pointer.
Caused by: java.lang.NullPointerException: at com.github.omadahealth.lollipin.lib.managers.AppLockActivity.initLayoutForFingerprint (AppLockActivity.java:147) at com.github.omadahealth.lollipin.lib.managers.AppLockActivity.onResume (AppLockActivity.java:84)

On some devices, (FingerprintManager) getSystemService(Context.FINGERPRINT_SERVICE) may
return a null pointer.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant