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

Commit b62f541a authored by George Lu's avatar George Lu Committed by Android (Google) Code Review
Browse files

Merge "Catch IllegalStateException in RadioManager.openTuner()"

parents ab3957af de874608
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1761,7 +1761,7 @@ public class RadioManager {
        TunerCallbackAdapter halCallback = new TunerCallbackAdapter(callback, handler);
        try {
            tuner = mService.openTuner(moduleId, config, withAudio, halCallback);
        } catch (RemoteException | IllegalArgumentException ex) {
        } catch (RemoteException | IllegalArgumentException | IllegalStateException ex) {
            Log.e(TAG, "Failed to open tuner", ex);
            return null;
        }