phHal4Nfc_ADD: fix memcpy overlap

Don't call memcpy when src==dest. It's undefined.

When memcpy overlap detection is enabled, this causes the NFC
process to crash and burn.

Bug: 6826770
Change-Id: I199af98e453953de288964f47248cb59af4deecb
1 file changed
tree: 4b1f2d5ce418a4517eafe79ea56ca69bd08ffec4
  1. inc/
  2. Linux_x86/
  3. src/
  4. Android.mk
  5. CleanSpec.mk
  6. MODULE_LICENSE_APACHE2
  7. NOTICE