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

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

Merge "Fix a bug when calling onError(int)" into pi-dev

parents a56e4bba db18cdae
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);
                        }