Skip to content

Processing PowerInfo broadcast async#1229

Open
ajadusum wants to merge 5 commits into
mainfrom
ajadusum/powbroadasync
Open

Processing PowerInfo broadcast async#1229
ajadusum wants to merge 5 commits into
mainfrom
ajadusum/powbroadasync

Conversation

@ajadusum

@ajadusum ajadusum commented Jan 4, 2024

Copy link
Copy Markdown

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 ajadusum requested a review from a team as a code owner January 4, 2024 22:05
mkoscumb
mkoscumb previously approved these changes Jan 4, 2024

@mkoscumb mkoscumb left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lalitb

lalitb commented Jan 16, 2024

Copy link
Copy Markdown
Contributor

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

ThomsonTan
ThomsonTan previously approved these changes Jan 16, 2024
@ajadusum

Copy link
Copy Markdown
Author

@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.

@lalitb lalitb left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The CI is breaking. Needs to be fixed before merge.

@ajadusum ajadusum dismissed stale reviews from ThomsonTan and mkoscumb via c5cc89d April 1, 2025 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants