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

Commit c7c2085f authored by Nathan Harold's avatar Nathan Harold Committed by android-build-merger
Browse files

Merge "Catch IllegalArgumentException on NetworkScan.stopScan" am: 84c2b6a8 am: b4b64bbb

am: 353d7558

Change-Id: I9db208192f129cc3ab7b574edb6025700c781ce9
parents e606688d 353d7558
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -16,11 +16,10 @@

package android.telephony;

import android.annotation.IntDef;
import android.content.Context;
import android.os.RemoteException;
import android.os.ServiceManager;
import android.annotation.IntDef;
import android.util.Log;

import com.android.internal.telephony.ITelephony;

@@ -113,6 +112,8 @@ public class NetworkScan {
        }
        try {
            telephony.stopNetworkScan(mSubId, mScanId);
        } catch (IllegalArgumentException ex) {
            Rlog.d(TAG,  "stopNetworkScan - no active scan for ScanID=" + mScanId);
        } catch (RemoteException ex) {
            Rlog.e(TAG, "stopNetworkScan  RemoteException", ex);
        } catch (RuntimeException ex) {