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

Skip to content
Commit 3d4b8e78 authored by Grace Jia's avatar Grace Jia
Browse files

Fix potential race condition in Call.

1) Add getConnections method to Call and return a copied mConnection field.
2) Add removeConnection, addConnection, getConnectionsFrom methods to
Call to avoid direct access of mConnection.
3) Add synchronization of all operation on mConnection.

Test: atest FrameworksTelephonyTests.
Bug: 131876970

Change-Id: If8f8df48ad52226cea401a82dfc22f6edb1f607e
parent 6a51c683
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