commit | afe8264bd1241982c39c86f40d0fd08f0888c824 | [log] [tgz] |
---|---|---|
author | Libin.Tang@motorola.com <w16529@motorola.com> | Thu Dec 18 13:27:53 2014 -0600 |
committer | Amit Mahajan <amitmahajan@google.com> | Mon Dec 22 19:35:06 2014 +0000 |
tree | dac5850cd44551047350d15b95f1850c9fda2e6c | |
parent | 7bb908fdcb08ab94f906555e131261f7aa999465 [diff] |
IMS: add an api to get IMS registration information. Bug: 18668325 Change-Id: I240f5314b02edecf646dfa6f427138d9c8a22754
diff --git a/src/com/android/phone/PhoneInterfaceManager.java b/src/com/android/phone/PhoneInterfaceManager.java index f44599d..1a5de74 100644 --- a/src/com/android/phone/PhoneInterfaceManager.java +++ b/src/com/android/phone/PhoneInterfaceManager.java
@@ -2223,4 +2223,12 @@ && ImsManager.isEnhanced4gLteModeSettingEnabledByUser(mPhone.getContext()) && mTelephonySharedPreferences.getBoolean(PREF_ENABLE_VIDEO_CALLING, true); } + + /* + * {@hide} + * Returns the IMS Registration Status + */ + public boolean isImsRegistered() { + return mPhone.isImsRegistered(); + } }