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.
1 file changed