Avoid NFC continuous crash

Some apps with poor quality don't want to export their
acitvities used to read tag to external for security reasons,
In this case, NFC would enter a continuous crash due to SecurityException
when detects a tag and try to dispatch.

Hence, We should resolve it by catch the SecurityException.

Bug: 162643562
Test: manual test with com.chinamworld.main AP

Signed-off-by: Maoliang Tang <tangmaoliang@xiaomi.com>
Change-Id: I9557a3730c741dcae65d88e10e5e944f06925e94
1 file changed