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

Handle mFingerprintManager null exception#183

Open
xyxy616161 wants to merge 1 commit intoomadahealth:masterfrom
xyxy616161:master
Open

Handle mFingerprintManager null exception#183
xyxy616161 wants to merge 1 commit intoomadahealth:masterfrom
xyxy616161:master

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