diff options
author | Brad Ebinger <breadley@google.com> | 2017-06-22 11:39:11 -0700 |
---|---|---|
committer | Brad Ebinger <breadley@google.com> | 2017-06-22 11:40:39 -0700 |
commit | c24bc10f42814a0c6b52fb0580fa98d2f9ce27c0 (patch) | |
tree | 89ba5ce0c333d03613a70b7939648ca6c0b7fd87 /telephony/java/com/android/ims/ImsConfig.java | |
parent | e9bec628542ba1d87a3783faae9efbf7cce8611f (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.java | 7 |
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(); + } } |