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

Commit 7f671544 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

am: 40273bc5

Change-Id: I0d47f6c3bb7bcfa9157e053fa047c143b91fa7ed
parents a63d1c26 40273bc5
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);
                        }