diff --git a/telephony/java/com/android/ims/ImsConfig.java b/telephony/java/com/android/ims/ImsConfig.java index c3010296d9c04..e7b22bdfadccf 100644 --- a/telephony/java/com/android/ims/ImsConfig.java +++ b/telephony/java/com/android/ims/ImsConfig.java @@ -697,4 +697,11 @@ public class ImsConfig { ImsReasonInfo.CODE_LOCAL_SERVICE_UNAVAILABLE); } } + + /** + * @return true if the binder connection is alive, false otherwise. + */ + public boolean isBinderAlive() { + return miConfig.asBinder().isBinderAlive(); + } }