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

Commit 9db370be authored by Pranav Madapurmath's avatar Pranav Madapurmath Committed by Android (Google) Code Review
Browse files

Merge "Resolve hidden TelecomManager referencing" into main

parents 3e45c4be 541d940f
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -2102,7 +2102,7 @@ public class CallLog {
                PhoneAccountHandle accountHandle) {
                PhoneAccountHandle accountHandle) {
            TelecomManager tm = null;
            TelecomManager tm = null;
            try {
            try {
                tm = TelecomManager.from(context);
                tm = context.getSystemService(TelecomManager.class);
            } catch (UnsupportedOperationException e) {
            } catch (UnsupportedOperationException e) {
                if (VERBOSE_LOG) {
                if (VERBOSE_LOG) {
                    Log.v(LOG_TAG, "No TelecomManager found to get account address.");
                    Log.v(LOG_TAG, "No TelecomManager found to get account address.");