Opp: Prevent showing incoming notification multiple times

Use case:
1. Pair with remote
2. Receive incoming request from remote
3. Click on RX notification content to open confirmation dialog
4. Pull down notification bar and click on clear all option

Failure:
After open confirmation dialog, again receiving same notification
on status bar with sound also.

Root cause:
During Tx failure UiUpdateThread is not closed leading
to deadloop and sending of notifications in Rx thread.

Fix:
Close uiupdateThread if exception occurs and thread is not null.

CRs-Fixed: 2049710
Change-Id: I6c72e6a9c77070e36103343b640f0c3b5d9f475f
3 files changed