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

Commit 51e69ad4 authored by Venkatarama Avadhani's avatar Venkatarama Avadhani
Browse files

Handle ServiceSpecificException in openSession

In MediaCas#openSession(int, int), the ServiceSpecificException is
caught and thrown as an IllegalStateException. This is inconsistent with
the documentation of the method. Correct it to throw a MediaCasException.

Bug: 409937172
Test: atest CtsMediaMiscTestCases
Flag: EXEMPT bugfix
Change-Id: I02cf600f16f9ee5839888cd6c1770fe462f21992
parent a0ed7d03
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment