{Q_AOSP}:Check if the end activity is exported for Dispatcher.

Poorly written applications can cause NFC stack to crash
by declaring intent filters such that their activity gets
resolved to receive Nfc Tag Intents, but explicitly mark
those activities to not be exported, causing SecurityException.

Check if the end activity is exported before starting the Activity.

Also adds a null pointer check for web links.
1 file changed
tree: 0c510e93262f4ec333370f91bf309686264b3dff
  1. assets/
  2. etc/
  3. nci/
  4. res/
  5. src/
  6. tests/
  7. .clang-format
  8. Android.bp
  9. AndroidManifest.xml
  10. CleanSpec.mk
  11. migrate_nfc.txt
  12. OWNERS
  13. PREUPLOAD.cfg
  14. README.md
README.md

NFC_NCIHAL_Nfc

Git Repository

DESCRIPTIONCHECKOUT COMMAND
NFC_NCIHAL_Nfcgit clone https://github.com/NXPNFCProject/NFC_NCIHAL_Nfc.git

Supported Version on "br_android_ncihalx_row_q" branch

Android VersionNXP ReleaseNXP Tag
aosp-master10.01.00 (PN80T/PN81T/PN553/PN557)NFC_AR_00_18C0_10.01.00_OpnSrc
aosp-master10.02.00 (PN80T/PN81T/PN553/PN557)NFC_AR_00_18C0_10.02.00_OpnSrc
android-10.0.0_r210.03.00 (PN80T/PN81T/PN553/PN557)NFC_AR_00_18C0_10.03.00_OpnSrc
android-10.0.0_r210.04.00 (PN80T/PN81T/PN553/PN557)NFC_AR_00_18C0_10.04.00_OpnSrc

Supported Versions on "br_android_ncihalx_row_p" Branch

Android VersionNXP ReleaseNXP Tag
android-p-preview 29.0.D (PN553)NFC_NCIHALx_AR00C0.9.0.D_OpnSrc
android-9.0.0_r39.1.0 (PN557)NFC_NCIHALx_AR0800.9.1.0_OpnSrc
android-9.0.0_r39.2.0 (PN81T/PN557)NFC_NCIHALx_AR1800.9.2.0_OpnSrc
android-9.0.0_r39.3.0 (PN553)NFC_NCIHALx_AR0040.9.3.0_OpnSrc
android-9.0.0_r39.4.0 (PN553)NFC_NCIHALx_AR00C0.9.4.0_OpnSrc
android-9.0.0_r39.5.0 (PN557)NFC_NCIHALx_AR1800.9.5.0_OpnSrc
android-9.0.0_r39.6.0 (PN80T/PN81T)NFC_NCIHALx_AR18C0.9.6.0_OpnSrc