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

Skip to content
Commit cba16c6f authored by Emma James's avatar Emma James
Browse files

Change the call manager listeners to an array to enforce order where classes...

Change the call manager listeners to an array to enforce order where classes rely on the values from others.

Both the PhoneStateBroadcaster and CallAudioManager listen to onExternalCallChanged. CallAudioManager uses this callback to update foreground call, which PhoneStateBroadcaster uses to determine the phone state when it receives this callback. Enforcing order ensures that the foreground call is updated before the phone state reads the value.

Change-Id: I77f7982345ceee7a7cf0c7fb6a6e5031cee92824
Bug: 230480403
Test: manual test
parent 2385dc0b
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