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

Commit 40273bc5 authored by yinxu's avatar yinxu Committed by android-build-merger
Browse files

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

am: f7e6b297

Change-Id: I51b497c085a7e3ef16b77d1039459b04c28d8f7d
parents 6ce49c60 f7e6b297
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);
                        }