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:
@@ -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