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

Commit 2f952a84 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

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

parents 0ae4ceb7 4b2d134b
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -10874,6 +10874,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);
                }));