Loading telephony/java/android/telephony/TelephonyManager.java +18 −0 Original line number Diff line number Diff line Loading @@ -4786,6 +4786,24 @@ public class TelephonyManager { } } /** * Returns the IMS Registration Status * using subId * @hide */ public boolean isImsRegisteredForSubscriber(int subId) { try { ITelephony telephony = getITelephony(); if (telephony == null) return false; return telephony.isImsRegisteredForSubscriber(subId); } catch (RemoteException ex) { return false; } catch (NullPointerException ex) { return false; } } /** * Returns the Status of Volte * @hide Loading telephony/java/com/android/internal/telephony/ITelephony.aidl +5 −0 Original line number Diff line number Diff line Loading @@ -977,6 +977,11 @@ interface ITelephony { */ boolean isImsRegistered(); /** * Get IMS Registration Status using subId */ boolean isImsRegisteredForSubscriber(int subId); /** * Returns the Status of Wi-Fi Calling */ Loading Loading
telephony/java/android/telephony/TelephonyManager.java +18 −0 Original line number Diff line number Diff line Loading @@ -4786,6 +4786,24 @@ public class TelephonyManager { } } /** * Returns the IMS Registration Status * using subId * @hide */ public boolean isImsRegisteredForSubscriber(int subId) { try { ITelephony telephony = getITelephony(); if (telephony == null) return false; return telephony.isImsRegisteredForSubscriber(subId); } catch (RemoteException ex) { return false; } catch (NullPointerException ex) { return false; } } /** * Returns the Status of Volte * @hide Loading
telephony/java/com/android/internal/telephony/ITelephony.aidl +5 −0 Original line number Diff line number Diff line Loading @@ -977,6 +977,11 @@ interface ITelephony { */ boolean isImsRegistered(); /** * Get IMS Registration Status using subId */ boolean isImsRegisteredForSubscriber(int subId); /** * Returns the Status of Wi-Fi Calling */ Loading