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

Commit aae64e71 authored by Sooraj Sasindran's avatar Sooraj Sasindran Committed by android-build-merger
Browse files

Merge "Check for null executor" into qt-r1-dev

am: 2f952a84

Change-Id: Ia7b6761ddfdd41abcb2b3239ef71326ff7864dcd
parents 4bff3e66 2f952a84
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -10922,6 +10922,9 @@ public class TelephonyManager {
        try {
            IOns iOpportunisticNetworkService = getIOns();
            if (iOpportunisticNetworkService == null || availableNetworks == null) {
                if (executor == null || callback == null) {
                    return;
                }
                Binder.withCleanCallingIdentity(() -> executor.execute(() -> {
                    callback.accept(UPDATE_AVAILABLE_NETWORKS_INVALID_ARGUMENTS);
                }));