Commit Graph

8 Commits

Author SHA1 Message Date
Robert Greenwalt
e2043da015 Revert to an uncompressed MccTable.
The compressed MccTable didn't have enough space for all the timezones or languages in the world.
We can remove the timezones entirely by looking up the timezone from the ICU data.  Since there
is not much to be gained from the binary format and it had real limitations we chose
to revert it.

Fixed a bug where the wifi channel was never being set.

bug:2284210
Change-Id: If9ca89f7053f937f555430b061c60cd7eec86d8e
2010-07-13 09:31:24 -07:00
Robert Greenwalt
e640a5aee4 Update the Mcc Table for Canada.
Changing the mnc length from 2 to 3.  We don't have any canandian APNs with 2 digit mncs
and wikipedia doesn't list any canadian carriers with 2 digit mncs.

Rogers was reporting some sims with 72 and others with the correct 720 - a sample "72" sim
didn't have the mnc-length field set so we went with 2.  With this fix all rogers sims will
be picked up correctly.
2010-03-08 16:26:34 -08:00
Irfan Sheriff
c30ffda0d8 resolved conflicts for merge of d0514347 to master 2010-01-25 19:10:31 -08:00
Irfan Sheriff
51e2f71f4a Use MCC value to always override channel count setting
FCC raised the issue of not allowing users to configure
channel counts beyond 11. This change enforces the channel
count based on MCC values.

Bug: 2378844
2010-01-20 17:44:07 -08:00
Wink Saville
144fdfec24 Telephony: Fix exception if PROPERTY_OPERATOR_NUMERIC is not set
and minor fixes.

Fix the following
 - When PROPERTY_OPERATOR_NUMERIC is not set, the value is "" when CDMAPhone
is initialized. The constructor tries to extract MCC and MNC from this
property and results in a StringIndexOutOfBounds exception. Check for empty
OperatorNumeric string before trying to extract MCC and MNC
 - Handle RIL_REQUEST_REPORT_STK_SERVICE_IS_RUNNING response gracefully.

Change-Id: I749d6801bb4794d56e8fd672dec69dfea2b5c756
2009-12-02 15:07:34 -08:00
Robert Greenwalt
22cf0509b2 Add China data to MccTable.
We didn't have the wifi channel count data there, so we failed to
attempt connections on channel 13.

bug: 2282285
2009-11-24 14:13:04 -08:00
Robert Greenwalt
70e1f7a6b7 Fix the selection of locale from SIM mcc.
Two issues - getting config then setting locale by mcc and then setting the config (to set
mcc/mnc) would overwrite the locale set in the middle.  Also, using a "new Configuration()"
instead of asking the ActivityManager.getConfiguration gets different values than the current
ones, and would also overwrite our change.

bug: 2241461
bug: 2239810
2009-11-05 18:19:37 -08:00
Robert Greenwalt
1c1ffa0cab Promote MccTable to telephony and use it for both gsm/cdma
This adds timezone/locale/wifi-regulator-channels initialization to cdma (gsm already had it).

bug: 2071211
2009-09-03 12:34:15 -07:00