Merge "Add handling of missing ServiceSpecificException" am: 08afbf5cf1 am: 6e5bb402c9

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2382002

Change-Id: Iac4e31ef7cc6d8946fe0db918405b799f1d4a8cb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Joonhun Shin
2023-01-10 23:28:27 +00:00
committed by Automerger Merge Worker

View File

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