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

Commit 8b1153b0 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Handle ServiceSpecificException in openSession" into main

parents 29a5ed6a 51e69ad4
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1306,7 +1306,9 @@ public final class MediaCas implements AutoCloseable {
                        mCasSystemId,
                        FrameworkStatsLog.TV_CAS_SESSION_OPEN_STATUS__STATE__SUCCEEDED);
                return session;
            } catch (ServiceSpecificException | RemoteException e) {
            } catch (ServiceSpecificException se) {
                MediaCasException.throwExceptionIfNeeded(se.errorCode);
            } catch (RemoteException e) {
                cleanupAndRethrowIllegalState();
            }
        }