diff options
author | Ricardo Cerqueira <cyanogenmod@cerqueira.org> | 2013-11-04 02:05:24 +0000 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2015-10-26 16:07:32 -0700 |
commit | a871ee0654c53cc2313059b22435831fa9cd0b62 (patch) | |
tree | 496949bfefcfd8047e72b33f6453898c533d822b /telephony/java/com | |
parent | df6eadc4b6a8445cad62b7eb152d00b1d0bce6cf (diff) | |
download | frameworks_base-a871ee0654c53cc2313059b22435831fa9cd0b62.zip frameworks_base-a871ee0654c53cc2313059b22435831fa9cd0b62.tar.gz frameworks_base-a871ee0654c53cc2313059b22435831fa9cd0b62.tar.bz2 |
Telephony: Add getLteOnGsmMode() method (1/2)
Same functionality as the existing getLteOnCdmaMode, but for GSM
LTE devices.
Enable with the telephony.lteOnGsmDevice system property
Change-Id: If563e43e1f97b23966cb42ff24eb0b406f9db8e2
Diffstat (limited to 'telephony/java/com')
-rw-r--r-- | telephony/java/com/android/internal/telephony/ITelephony.aidl | 6 | ||||
-rw-r--r-- | telephony/java/com/android/internal/telephony/TelephonyProperties.java | 5 |
2 files changed, 11 insertions, 0 deletions
diff --git a/telephony/java/com/android/internal/telephony/ITelephony.aidl b/telephony/java/com/android/internal/telephony/ITelephony.aidl index 2ea2be5..6e0ac88 100644 --- a/telephony/java/com/android/internal/telephony/ITelephony.aidl +++ b/telephony/java/com/android/internal/telephony/ITelephony.aidl @@ -538,6 +538,12 @@ interface ITelephony { */ void setCellInfoListRate(int rateInMillis); + + /** + * Return if the current radio is LTE on GSM + */ + int getLteOnGsmMode(); + /** * get default sim * @return sim id diff --git a/telephony/java/com/android/internal/telephony/TelephonyProperties.java b/telephony/java/com/android/internal/telephony/TelephonyProperties.java index 1d142e7..bb9e7c0 100644 --- a/telephony/java/com/android/internal/telephony/TelephonyProperties.java +++ b/telephony/java/com/android/internal/telephony/TelephonyProperties.java @@ -88,6 +88,11 @@ public interface TelephonyProperties */ static final String PROPERTY_LTE_ON_CDMA_DEVICE = "telephony.lteOnCdmaDevice"; + /** + * {@see BaseCommands#getLteOnGsmMode()} + */ + static final String PROPERTY_LTE_ON_GSM_DEVICE = "telephony.lteOnGsmDevice"; + static final String CURRENT_ACTIVE_PHONE = "gsm.current.phone-type"; //****** SIM Card |