diff options
| author | 2024-01-30 21:41:02 +0000 | |
|---|---|---|
| committer | 2024-01-30 21:41:02 +0000 | |
| commit | 9db370befa13f5c3fa7af995ad98bc3e3910463c (patch) | |
| tree | a52a26f001606a246c1fe4c0094e521af56d0f97 | |
| parent | 3e45c4be69ef3e2034cf0c920af65888cc1bfdd6 (diff) | |
| parent | 541d940f9c1a1870653f2e856de95f8e5aa35f0c (diff) | |
Merge "Resolve hidden TelecomManager referencing" into main
| -rw-r--r-- | core/java/android/provider/CallLog.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/provider/CallLog.java b/core/java/android/provider/CallLog.java index 5d6dfc760b02..7d127ad660c5 100644 --- a/core/java/android/provider/CallLog.java +++ b/core/java/android/provider/CallLog.java @@ -2102,7 +2102,7 @@ public class CallLog { PhoneAccountHandle accountHandle) { TelecomManager tm = null; try { - tm = TelecomManager.from(context); + tm = context.getSystemService(TelecomManager.class); } catch (UnsupportedOperationException e) { if (VERBOSE_LOG) { Log.v(LOG_TAG, "No TelecomManager found to get account address."); |