Merge "Add handling of missing ServiceSpecificException" am: 08afbf5cf1
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2382002 Change-Id: Id0ee358b5e03b4511fe06095d53774bf2ba106ef 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);
|
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