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

Skip to content
Commit 903925c7 authored by William Escande's avatar William Escande
Browse files

Csip: handle active device before broadcast intent

[Detail]
- When received ACTION_CSIS_DEVICE_AVAILABLE, settings or other
processes may call getGroupUuidMapByDevice() to get the group id before
csip updates the mDeviceGroupIdRankMap, which causes the caller to fail
to get the correct value.

[Solution]
- Ensure mDeviceGroupIdRankMap be updated before broadcasting
ACTION_CSIS_DEVICE_AVAILABLE
- Call handleDeviceAvailable() first

Bug: 328842373
Fix: 328842373
Flag: Exempt no-op change
Test: m . | there are no test specific for race condition
Change-Id: I2f70151b61122ccc6c0c25bb0d3a433835c3ad8d
parent 01172369
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