Skip to content
Commit dbfdb3f5 authored by Neil Fuller's avatar Neil Fuller
Browse files

Stop blocking broadcast receiver thread

Stop blocking broadcast receiver thread during network operations.

This reverts part of a behavior change from commit 6bb629bb.
That commit switched a BroadcastReceiver over to using a specific
handler (X) for some long-running work. That isn't the same behavior as
posting the work to handler X and returning immediately, and it can
cause an ANR if the work takes too long.

The behavior has been changed back to explicitly post work to the
handler and return.

Bug: 271951363
Test: build / boot / treehugger
Change-Id: I9aeaf200d19de97b5be909678aab8d5421cd11a4
parent c752ab59
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