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