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

Commit 9dc464c7 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Synchronize Phone.metrics.containsCsCalls iteration" am: 65745602 am: 92946b5d

Original change: https://android-review.googlesource.com/c/platform/frameworks/opt/telephony/+/1935438

Change-Id: Idc2079f9dac06b254d9b6a7c483ddbc651be1e00
parents 9f69cff1 92946b5d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -99,7 +99,7 @@ public class InProgressCallSession {
     * Check if the Call Session contains CS calls
     * @return true if there are CS calls in the call list
     */
    public boolean containsCsCalls() {
    public synchronized boolean containsCsCalls() {
        for (TelephonyCallSession.Event event : events) {
            if (event.type == TelephonyCallSession.Event.Type.RIL_CALL_LIST_CHANGED) {
                return true;