diff options
author | Raj Yengisetty <rajesh@cyngn.com> | 2015-03-18 13:16:15 -0700 |
---|---|---|
committer | Linus Lee <llee@cyngn.com> | 2015-03-18 16:11:10 -0700 |
commit | 12e24feb06b2c4f0ce2589453ca0e233e415246d (patch) | |
tree | b6e3c54dcd4f9035461929f2bb90d7641c075b8c /fmapp2/src/com/caf/fmradio/FmSharedPreferences.java | |
parent | c862dcbe3ce1484e2692e7b4937806f7aead1301 (diff) | |
download | android_hardware_qcom_fm-12e24feb06b2c4f0ce2589453ca0e233e415246d.tar.gz android_hardware_qcom_fm-12e24feb06b2c4f0ce2589453ca0e233e415246d.tar.bz2 android_hardware_qcom_fm-12e24feb06b2c4f0ce2589453ca0e233e415246d.zip |
FMRadio: add Indonesia
Use a new id so that old values aren't changed
Looked into reordering the list but the index is used
in a few places - going to skip on that change for now
Change-Id: Ib70634d28588ce23a37fcc7b760019c07af3412f
Diffstat (limited to 'fmapp2/src/com/caf/fmradio/FmSharedPreferences.java')
-rw-r--r-- | fmapp2/src/com/caf/fmradio/FmSharedPreferences.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/fmapp2/src/com/caf/fmradio/FmSharedPreferences.java b/fmapp2/src/com/caf/fmradio/FmSharedPreferences.java index a20bd50..3302daf 100644 --- a/fmapp2/src/com/caf/fmradio/FmSharedPreferences.java +++ b/fmapp2/src/com/caf/fmradio/FmSharedPreferences.java @@ -80,6 +80,7 @@ public class FmSharedPreferences public static final int REGIONAL_BAND_UNITEDKINGDOM = 34; public static final int REGIONAL_BAND_UNITED_STATES = 35; public static final int REGIONAL_BAND_USER_DEFINED = 36; + public static final int REGIONAL_BAND_INDONESIA = 37; public static final int RECORD_DUR_INDEX_0_VAL = 5; public static final int RECORD_DUR_INDEX_1_VAL = 15; @@ -1077,6 +1078,14 @@ public class FmSharedPreferences mFrequencyBand_Stepsize = 200; break; } + case REGIONAL_BAND_INDONESIA: + { + /*INDONESIA : 87500 TO 108000 IN 100 KHZ STEPS*/ + mFMConfiguration.setLowerLimit(87500); + mFMConfiguration.setUpperLimit(108000); + mFrequencyBand_Stepsize = 100; + break; + } case REGIONAL_BAND_USER_DEFINED: { mFMConfiguration.setRadioBand(FmReceiver.FM_USER_DEFINED_BAND); |