Merge "Add handling of missing ServiceSpecificException"

This commit is contained in:
Joonhun Shin
2023-01-10 23:01:36 +00:00
committed by Gerrit Code Review

View File

@@ -1828,6 +1828,8 @@ public class ProvisioningManager {
return getITelephony().isRcsVolteSingleRegistrationCapable(mSubId); return getITelephony().isRcsVolteSingleRegistrationCapable(mSubId);
} catch (RemoteException | IllegalStateException e) { } catch (RemoteException | IllegalStateException e) {
throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE);
} catch (ServiceSpecificException e) {
throw new ImsException(e.getMessage(), e.errorCode);
} }
} }