LeOS-GSI/patches/leos/platform_frameworks_opt_tel.../0001-Calltracker.patch

28 lines
1.3 KiB
Diff

From 341abb309ed5345f28993f7b8aa0f475d409cfdb Mon Sep 17 00:00:00 2001
From: harvey186 <harvey186@hotmail.com>
Date: Thu, 14 Dec 2023 09:10:07 +0100
Subject: [PATCH] Calltracker
Change-Id: Ic719d1ea8bfdea70f269b31e2e0d3ac4781ecc68
---
.../internal/telephony/imsphone/ImsPhoneCallTracker.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/java/com/android/internal/telephony/imsphone/ImsPhoneCallTracker.java b/src/java/com/android/internal/telephony/imsphone/ImsPhoneCallTracker.java
index 48a863ee8e..365cb3b015 100644
--- a/src/java/com/android/internal/telephony/imsphone/ImsPhoneCallTracker.java
+++ b/src/java/com/android/internal/telephony/imsphone/ImsPhoneCallTracker.java
@@ -333,8 +333,7 @@ public class ImsPhoneCallTracker extends CallTracker implements ImsPullCall {
} else {
// for legacy IMS we want to avoid blocking the binder thread, otherwise
// we end up with half dead incoming calls with unattached call session
- TelephonyUtils.runWithCleanCallingIdentity(()-> processIncomingCall(c, extras),
- mExecutor);
+ return executeAndWaitForReturn(()-> processIncomingCall(c, callId, extras));
}
}
--
2.34.1