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

Commit d116852e authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Fix a bug when calling onError(int)"

parents ad7415f1 17dbd5b1
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -145,7 +145,8 @@ public final class TelephonyScanManager {
                        break;
                    case CALLBACK_SCAN_ERROR:
                        try {
                            executor.execute(() -> callback.onError(message.arg1));
                            final int errorCode = message.arg1;
                            executor.execute(() -> callback.onError(errorCode));
                        } catch (Exception e) {
                            Rlog.e(TAG, "Exception in networkscan callback onError", e);
                        }