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

Skip to content
Commit 803b8bf2 authored by Jeff Sharkey's avatar Jeff Sharkey
Browse files

Ensure system internals hear broadcasts first.

Since the modern broadcast queue can dispatch to multiple apps in
parallel, we could end up telling third-party apps about events like
PACKAGE_ADDED before system internals have handled it, causing
developer confusion when calling into an inconsistent service.

This change ensures that all system internals handle PACKAGE_
and USER_ style broadcasts first before apps; if any internals want
to defer until after third-party apps, they can choose to register
themselves with SYSTEM_LOW_PRIORITY.

Bug: 269168765
Test: TH
Change-Id: I567d7dbb542d39de6cc6268fd568a9bd7046c34e
parent 9e717f1b
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