Loading
SAP: Prevent waiting in main thread to prevent ANR
A case when BT on/off is running in loop and stop is called from main thread, prevent blocking main thread during call to stop and using shared resources, as mutex might be locked until the thread is safely existed, so used force state change to prevent ANR as during stopping of SapService, we dont; need to check for existing state, and change the state unconditionally. CRs-Fixed: 932243 Change-Id: I455e49864d104cebb51fc841dcadcd0a37e36be4