Merge "Add handling of missing ServiceSpecificException"

This commit is contained in:
Joonhun Shin
2023-01-06 00:11:14 +00:00
committed by Android (Google) Code Review

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);
}
}