OPP: Check Bluetooth state while listening connection.

Add BT state check and interruption flag to break out of
accept loop if BT is being Switched off or in switch
off state to avoid ANR.

Change-Id: Ifbc7ceca1381bccb2165f14feafc1d0847f11ae3
CRs-Fixed: 940149
2 files changed