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

Commit 6e183fcf authored by Brad Ebinger's avatar Brad Ebinger Committed by Android (Google) Code Review
Browse files

Merge "Throw an explicit ImsException if the ImsService isnt available"

parents 251f237b d82af6f7
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -497,6 +497,8 @@ public class ImsRcsManager {

        try {
            return imsRcsController.isCapable(mSubId, capability, radioTech);
        } catch (ServiceSpecificException e) {
            throw new ImsException(e.getMessage(), e.errorCode);
        } catch (RemoteException e) {
            Log.w(TAG, "Error calling IImsRcsController#isCapable", e);
            throw new ImsException("Remote IMS Service is not available",
@@ -534,6 +536,8 @@ public class ImsRcsManager {

        try {
            return imsRcsController.isAvailable(mSubId, capability, radioTech);
        } catch (ServiceSpecificException e) {
            throw new ImsException(e.getMessage(), e.errorCode);
        } catch (RemoteException e) {
            Log.w(TAG, "Error calling IImsRcsController#isAvailable", e);
            throw new ImsException("Remote IMS Service is not available",