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

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

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

am: d116852e

Change-Id: Ic55c4b394a97686c77da0652b751d3712b730446
parents 3dd16b1e d116852e
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);
                        }