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

Commit 38cafb4c authored by Sandeep Bandaru's avatar Sandeep Bandaru
Browse files

Make onLifecycleEvent broadcasting sequential.

When onLifecycleEvent is called multiple times, it is possible that listeners will receive the events in a different order. This is due to the multiple calls to the broadcast method.
To ensure correct behavior, a new executor is used to run broadcast execution sequentially.

Bug: 427938935
Test: cts
Flag: EXEMPT bugfix
Change-Id: Icd05e1b4c608e9c23c4aafdea26dc4c47f6f1660
parent 72cfe016
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment