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

Skip to content
Commit 1b6208b2 authored by Tyler Gunn's avatar Tyler Gunn
Browse files

Fix concurrency issues in ImsPhoneCall.

The class had a couple places where getFirstConnection() was referenced,
but it was possible for concurrent access to take place on the connection
between when getFirstConnection() was first called and when the return
value from it was referenced.  This was easy to fix by just storing the
instance of ImsPhoneConnection returned.

Fixes: 156168243
Test: Manual regression test for IMS phone calls.
Test: Add unit tests for get methods in question; can't really test the
concurrency in the test but can test basic operation.

Change-Id: I341fabf6e7cde869a7a8075f18ed15b593206471
parent ed4731a7
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