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

Commit 525d8747 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

am: aae64e71

Change-Id: I95963891a90e8e04e05b986d3e4b1d6be6f72981
parents 57af2597 aae64e71
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);
                }));