diff options
| author | Nathan Harold <nharold@google.com> | 2015-03-11 18:08:08 -0700 |
|---|---|---|
| committer | Nathan Harold <nharold@google.com> | 2015-03-11 18:08:08 -0700 |
| commit | 42eadcdf3432e9fd6662ee07316db7726c1eabbf (patch) | |
| tree | e7974e0f0be3a60b632b377d8576933f430eb119 /telephony/java/android | |
| parent | e32c162a40d55cca897b3572098fa0d552d20be9 (diff) | |
| download | frameworks_base-42eadcdf3432e9fd6662ee07316db7726c1eabbf.zip frameworks_base-42eadcdf3432e9fd6662ee07316db7726c1eabbf.tar.gz frameworks_base-42eadcdf3432e9fd6662ee07316db7726c1eabbf.tar.bz2 | |
Adding hidden isWifiCallingEnabled() and isVolteEnabled()
Change-Id: Ic33f8c50dfb2d81b2bdc149629724e3972aad09e
Diffstat (limited to 'telephony/java/android')
| -rw-r--r-- | telephony/java/android/telephony/TelephonyManager.java | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/telephony/java/android/telephony/TelephonyManager.java b/telephony/java/android/telephony/TelephonyManager.java index a7350c9..b8de144 100644 --- a/telephony/java/android/telephony/TelephonyManager.java +++ b/telephony/java/android/telephony/TelephonyManager.java @@ -3792,6 +3792,34 @@ public class TelephonyManager { } /** + * Returns the Status of Volte + *@hide + */ + public boolean isVolteEnabled() { + try { + return getITelephony().isVolteEnabled(); + } catch (RemoteException ex) { + return false; + } catch (NullPointerException ex) { + return false; + } + } + + /** + * Returns the Status of Wi-Fi Calling + *@hide + */ + public boolean isWifiCallingEnabled() { + try { + return getITelephony().isWifiCallingEnabled(); + } catch (RemoteException ex) { + return false; + } catch (NullPointerException ex) { + return false; + } + } + + /** * Set TelephonyProperties.PROPERTY_ICC_OPERATOR_NUMERIC for the default phone. * * @hide |
