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

Skip to content
Commit c897cccf authored by Yiyi Shen's avatar Yiyi Shen
Browse files

Quick fix: Move blocking code to background thread

BluetoothAdapter#isEnabled may block with small probability when
PropertyInvalidatedCache miss and recompute. Thus we move it to a
backgroud thread to avoid ANR.

Bug: 294835798
Test: manual
Change-Id: I33a2b4b8c848f66bf213d10088640cfb5f9b744d
parent 009d050e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment