am 5e8e42ff: am afe8264b: IMS: add an api to get IMS registration information. automerge: 6ecca57
* commit '5e8e42ff55a03b4dcfbe3c6dfb01eba258e3c098':
IMS: add an api to get IMS registration information.
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();
+ }
}