Loading telephony/java/android/telephony/TelephonyManager.java +26 −12 Original line number Diff line number Diff line Loading @@ -4188,9 +4188,23 @@ public class TelephonyManager { * Returns the Status of Volte * @hide */ public boolean isVolteEnabled() { public boolean isVolteAvailable() { try { return getITelephony().isVolteEnabled(); return getITelephony().isVolteAvailable(); } catch (RemoteException ex) { return false; } catch (NullPointerException ex) { return false; } } /** * Returns the Status of video telephony (VT) * @hide */ public boolean isVideoTelephonyAvailable() { try { return getITelephony().isVideoTelephonyAvailable(); } catch (RemoteException ex) { return false; } catch (NullPointerException ex) { Loading @@ -4202,9 +4216,9 @@ public class TelephonyManager { * Returns the Status of Wi-Fi Calling * @hide */ public boolean isWifiCallingEnabled() { public boolean isWifiCallingAvailable() { try { return getITelephony().isWifiCallingEnabled(); return getITelephony().isWifiCallingAvailable(); } catch (RemoteException ex) { return false; } catch (NullPointerException ex) { Loading telephony/java/com/android/internal/telephony/ITelephony.aidl +9 −3 Original line number Diff line number Diff line Loading @@ -921,13 +921,19 @@ interface ITelephony { * Returns the Status of Wi-Fi Calling *@hide */ boolean isWifiCallingEnabled(); boolean isWifiCallingAvailable(); /** * Returns the Status of Volte *@hide */ boolean isVolteEnabled(); boolean isVolteAvailable(); /** * Returns the Status of VT (video telephony) *@hide */ boolean isVideoTelephonyAvailable(); /** * Returns the unique device ID of phone, for example, the IMEI for Loading Loading
telephony/java/android/telephony/TelephonyManager.java +26 −12 Original line number Diff line number Diff line Loading @@ -4188,9 +4188,23 @@ public class TelephonyManager { * Returns the Status of Volte * @hide */ public boolean isVolteEnabled() { public boolean isVolteAvailable() { try { return getITelephony().isVolteEnabled(); return getITelephony().isVolteAvailable(); } catch (RemoteException ex) { return false; } catch (NullPointerException ex) { return false; } } /** * Returns the Status of video telephony (VT) * @hide */ public boolean isVideoTelephonyAvailable() { try { return getITelephony().isVideoTelephonyAvailable(); } catch (RemoteException ex) { return false; } catch (NullPointerException ex) { Loading @@ -4202,9 +4216,9 @@ public class TelephonyManager { * Returns the Status of Wi-Fi Calling * @hide */ public boolean isWifiCallingEnabled() { public boolean isWifiCallingAvailable() { try { return getITelephony().isWifiCallingEnabled(); return getITelephony().isWifiCallingAvailable(); } catch (RemoteException ex) { return false; } catch (NullPointerException ex) { Loading
telephony/java/com/android/internal/telephony/ITelephony.aidl +9 −3 Original line number Diff line number Diff line Loading @@ -921,13 +921,19 @@ interface ITelephony { * Returns the Status of Wi-Fi Calling *@hide */ boolean isWifiCallingEnabled(); boolean isWifiCallingAvailable(); /** * Returns the Status of Volte *@hide */ boolean isVolteEnabled(); boolean isVolteAvailable(); /** * Returns the Status of VT (video telephony) *@hide */ boolean isVideoTelephonyAvailable(); /** * Returns the unique device ID of phone, for example, the IMEI for Loading