summaryrefslogtreecommitdiff
path: root/telephony/java/com/android/ims/ImsConfig.java
diff options
context:
space:
mode:
authorBrad Ebinger <breadley@google.com>2017-06-22 11:39:11 -0700
committerBrad Ebinger <breadley@google.com>2017-06-22 11:40:39 -0700
commitc24bc10f42814a0c6b52fb0580fa98d2f9ce27c0 (patch)
tree89ba5ce0c333d03613a70b7939648ca6c0b7fd87 /telephony/java/com/android/ims/ImsConfig.java
parente9bec628542ba1d87a3783faae9efbf7cce8611f (diff)
Add method that checks the Binder status of ImsConfig
Adds a method to check whether or not the ImsConfig binder has died. Bug: 62723694 Test: maual, follow bug procedure Change-Id: I9df6533e7e7dc69487cea50fada6c89599b031a3
Diffstat (limited to 'telephony/java/com/android/ims/ImsConfig.java')
-rw-r--r--telephony/java/com/android/ims/ImsConfig.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/telephony/java/com/android/ims/ImsConfig.java b/telephony/java/com/android/ims/ImsConfig.java
index c3010296d9c0..e7b22bdfadcc 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();
+ }
}