diff options
author | Amit Mahajan <amitmahajan@google.com> | 2014-11-18 12:56:28 -0800 |
---|---|---|
committer | Amit Mahajan <amitmahajan@google.com> | 2014-11-18 17:34:36 -0800 |
commit | 4fea0923be8d961312908aded2f72011a044903c (patch) | |
tree | cdcc6a754594758d0fe22833682520a559273a9a /telephony/java | |
parent | 0455174d347bf451e830584bc3f6f35c3c560282 (diff) | |
download | frameworks_base-4fea0923be8d961312908aded2f72011a044903c.zip frameworks_base-4fea0923be8d961312908aded2f72011a044903c.tar.gz frameworks_base-4fea0923be8d961312908aded2f72011a044903c.tar.bz2 |
Adding new setting LTE_SERVICE_FORCED.
Bug: 18328639
Change-Id: Icbf9d7987d27af34cbe4ee1b4e9df19e139c2fc7
Diffstat (limited to 'telephony/java')
-rw-r--r-- | telephony/java/com/android/internal/telephony/RILConstants.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/telephony/java/com/android/internal/telephony/RILConstants.java b/telephony/java/com/android/internal/telephony/RILConstants.java index a6d6daa..082e8bb 100644 --- a/telephony/java/com/android/internal/telephony/RILConstants.java +++ b/telephony/java/com/android/internal/telephony/RILConstants.java @@ -24,6 +24,8 @@ package com.android.internal.telephony; * Also they should all probably be static final. */ +import android.os.SystemProperties; + /** * {@hide} */ @@ -86,7 +88,8 @@ public interface RILConstants { int NETWORK_MODE_LTE_CDMA_EVDO_GSM_WCDMA = 10; /* LTE, CDMA, EvDo, GSM/WCDMA */ int NETWORK_MODE_LTE_ONLY = 11; /* LTE Only mode. */ int NETWORK_MODE_LTE_WCDMA = 12; /* LTE/WCDMA */ - int PREFERRED_NETWORK_MODE = NETWORK_MODE_WCDMA_PREF; + int PREFERRED_NETWORK_MODE = SystemProperties.getInt("ro.telephony.default_network", + NETWORK_MODE_WCDMA_PREF); int CDMA_CELL_BROADCAST_SMS_DISABLED = 1; int CDMA_CELL_BROADCAST_SMS_ENABLED = 0; |