Add handling of missing ServiceSpecificException
Add handling of missing ServiceSpecificException Bug: 261126196 Test: atest ImsServiceTest Change-Id: I8f0d7637f7bf110d635b659dc473b200be1819ca
This commit is contained in:
@@ -1831,6 +1831,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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user