diff options
| author | 2017-08-10 23:02:56 +0000 | |
|---|---|---|
| committer | 2017-08-10 23:02:56 +0000 | |
| commit | bc13df8ce824ca8a2267f66652ef5f8f8c6e5fbb (patch) | |
| tree | 5a1eb0fef310a6c886ae06299e13f9416e290003 | |
| parent | cfbd4a354a32a1a90109bb080d215fb9cdb1cbbe (diff) | |
| parent | 6ffc855e8d9ac0cc175e50530b0ad00eb7336287 (diff) | |
Merge "Add method that checks the Binder status of ImsConfig"
am: 6ffc855e8d
Change-Id: Ifa04b6260d51c17dc323fab918db0bdbf2bdea64
| -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(); + } } |