Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 3043a5ee authored by Hemant Gupta's avatar Hemant Gupta Committed by Gerrit - the friendly Code Review server
Browse files

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
parent 41b66fc0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment