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

Commit 8f892421 authored by Tomasz Wasilczyk's avatar Tomasz Wasilczyk Committed by android-build-merger
Browse files

Merge "Don't crash trying to stop program list updates on already closed tuner" into qt-qpr1-dev

am: 48d3b7ce

Change-Id: I83d55ad34a1a5bbe977df97d2a3a4ce87780ccaf
parents 9e32d76a 48d3b7ce
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -271,6 +271,8 @@ class TunerAdapter extends RadioTuner {
            mCallback.setProgramListObserver(list, () -> {
                try {
                    mTuner.stopProgramListUpdates();
                } catch (IllegalStateException ex) {
                    // it's fine to not stop updates if tuner is already closed
                } catch (RemoteException ex) {
                    Log.e(TAG, "Couldn't stop program list updates", ex);
                }