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

Skip to content
Commit 6dcd5300 authored by Sravan Kumar V's avatar Sravan Kumar V Committed by Gerrit - the friendly Code Review server
Browse files

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
parent b70dddac
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