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

Skip to content
Commit a8d8a096 authored by Evisceration's avatar Evisceration Committed by Steve Kondik
Browse files

Settings: check if NfcAdapter is null

according to the javadoc, getDefaultAdapter(Context) can return null, if
no NFC adapter exists.

check if adapter is null before trying to call isEnabled

Change-Id: I7ff5488cc3b53ce9785c3e46effcf29dc31fe0ef
parent a3d00bd9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment