OPP: Interrupt Update Thread to avoid ANR
Use case: BT on / Off during SNS test Failure: ANR in com.android.bluetooth Root cause: Some rare cases isInteractive API of Power manager is holding a lock to get device interactive ( on and off ) state. Fix: Instead of power Manager API use Broadcast receiver to catch Screen On and off changes and Interrupt Updated thread after turn off BT to stop infinite loop. CRs-Fixed: 1079150 Change-Id: If21c6b249126f12c445f4dd400455a017eee57a8
Loading
Please register or sign in to comment