[NFC] when use android.hardware.secure_element.V1_0.ISecureElement.isCardPresent() and do not judge it (private ISecureElement mSEHal) first, maybe will cause java.lang.NullPointerException

bug: 360030987
link: https://issuetracker.google.com/issues/360030987

adding a null pointer check before calling this method can solve this problem

/* code path */
packages/apps/SecureElement/src/com/android/se/Terminal.java
/* code detail */
mSEHal.isCardPresent()

Change-Id: Ifd8f6905522d025098b014b55d5575e3765ed012
1 file changed