OPP: Start notification thread if not started

Use case:
1.Take two NFC enabled DUTs
2.go to gallery and open the any image or video
3.tap two phones to do NFC Bluetooth handover.

Failure:
Notification bar prompt that .Beam did not complete.
when sending image via NFC.

Root cause:
NFC OPP_TRANSFER_PROGRESS intent not processed
by OPP because of race condition in OPP notification.

Fix:
Add extra check to ensure that notification thread will start if it
is not started. Otherwise, in case of NFC OPP_TRANSFER_PROGRESS
intent will not be broadcast will lead to transfer failure.

CRs-Fixed: 2386647
Change-Id: Ife8ed94758e7af79271ec9b4341967b0a4713ecc
2 files changed