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
Loading