Add handling of missing ServiceSpecificException

Add handling of missing ServiceSpecificException

Bug: 261126196
Test: atest ImsServiceTest
Change-Id: I8f0d7637f7bf110d635b659dc473b200be1819ca
This commit is contained in:
joonhunshin
2022-12-20 06:28:56 +00:00
parent 2800296d87
commit b10d968472

View File

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