cpp_client_telemetry icon indicating copy to clipboard operation
cpp_client_telemetry copied to clipboard

Processing PowerInfo broadcast async

Open ajadusum opened this issue 1 year ago • 2 comments
trafficstars

Issue: PowerInfoReceiver in HttpClient is processing broadcast on main thread. Android guideline is to avoid working on main thread on broadcast.

Fix: HttpClient already has a executor, processing the broadcast message async on the executor.

ajadusum avatar Jan 04 '24 22:01 ajadusum

@ajadusum The android build is failing. Can you check if this is related to your changes ?

lalitb avatar Jan 16 '24 19:01 lalitb

@ajadusum The android build is failing. Can you check if this is related to your changes ?

Yes, a test is failing. I will fix the mocks tomorrow.

ajadusum avatar Jan 17 '24 04:01 ajadusum