Loading telephony/java/android/telephony/TelephonyManager.java +14 −0 Original line number Original line Diff line number Diff line Loading @@ -3663,4 +3663,18 @@ public class TelephonyManager { } } } } } } /** * Returns the IMS Registration Status *@hide */ public boolean isImsRegistered() { try { return getITelephony().isImsRegistered(); } catch (RemoteException ex) { return false; } catch (NullPointerException ex) { return false; } } } } telephony/java/com/android/internal/telephony/ITelephony.aidl +4 −0 Original line number Original line Diff line number Diff line Loading @@ -865,4 +865,8 @@ interface ITelephony { * @return {@code True} if the user has enabled video calling, {@code false} otherwise. * @return {@code True} if the user has enabled video calling, {@code false} otherwise. */ */ boolean isVideoCallingEnabled(); boolean isVideoCallingEnabled(); /** * Get IMS Registration Status */ boolean isImsRegistered(); } } Loading
telephony/java/android/telephony/TelephonyManager.java +14 −0 Original line number Original line Diff line number Diff line Loading @@ -3663,4 +3663,18 @@ public class TelephonyManager { } } } } } } /** * Returns the IMS Registration Status *@hide */ public boolean isImsRegistered() { try { return getITelephony().isImsRegistered(); } catch (RemoteException ex) { return false; } catch (NullPointerException ex) { return false; } } } }
telephony/java/com/android/internal/telephony/ITelephony.aidl +4 −0 Original line number Original line Diff line number Diff line Loading @@ -865,4 +865,8 @@ interface ITelephony { * @return {@code True} if the user has enabled video calling, {@code false} otherwise. * @return {@code True} if the user has enabled video calling, {@code false} otherwise. */ */ boolean isVideoCallingEnabled(); boolean isVideoCallingEnabled(); /** * Get IMS Registration Status */ boolean isImsRegistered(); } }