b0b637dbf2a67c0e7eee917c0809f1cc54983986 |
|
06-Mar-2014 |
Robert Greenwalt <rgreenwalt@google.com> |
Switch from SIM to carrier info for wifi country Now will also inform when no known country too. bug:11062898 Change-Id: I4a938119c1c06898b39b3bcc6124031d2f66dd71
/frameworks/opt/telephony/src/java/com/android/internal/telephony/MccTable.java
|
2a374a4abef88e4cf7c6030ff831e3e0b9f658e3 |
|
26-Oct-2013 |
duho.ro <duho.ro@lge.com> |
Telephony: set default language of Canada as 'en' The Canada SIM cards have the dual-IMSI functionality for the roaming service. If it is working and the default system language is not set, the system language can be changed by the MCC of the 2nd IMSI. So, the default language should not be 'null'. This patch fills in the default language of Canada as English. Bug: 11361337 Change-Id: Iea6213e3ceca4a1cf054ebd9a13bb1d5574013b1
/frameworks/opt/telephony/src/java/com/android/internal/telephony/MccTable.java
|
e3f6e6a186ac6efe15faa0aa9f1df0333e114ed7 |
|
15-Oct-2013 |
Wink Saville <wink@google.com> |
Fix b10864885 Created getLocaleForLanguageCountry so that only one updateConfiguration was needed to update Configuration.mcc/mnc/locale/userSetLocale. Previously it took two updates, this streamlines the update making it more efficient. Removed the conditional that was in setLocalFromMccIfNeeded on getLteOnCdmaModeStatic which causes world phones that support cdma on lte as well as gsm to not set the locale. This condiational was add to support the multi logical SIMs for Verizon which has NV, RUIM and CSIM. The intent of the conditional was to allow the EFpl/EFli fields of the CSIM to be used to set the locale. But it doesn't work because of the technique of using reading the current configuration, modifying it and then writing it back would cause the current mode to be persisted because of bug 11171996. In short, bug 11171996 set the userSetLocale flag to true so when the mcc/mnc is updated it also caused the current locale, en_US, to be persisted not the "new" locale based on the mcc/mnc. Thus later, when the CSIM was loaded it wouldn't be persisted anyway, because en_US was already persisted. Added the "persist.always.persist.locale" system property so that you can test MccTable.updateMccMncConfiguration being called after SetupWizard starts. Typically when starting a device that has been wiped MccTable.updateMccMncConfigration is called before SetupWizard starts. This means SetupWizard has the "proper" locale rather than en_US, the default setup, when ActivityManagerService is constructed. But, if you set persist.always.persist.locale to 1, persist.sys.language to "en" and persist.sys.country to "US" and then reboot without wiping SetupWizard will start first. As such SetupWizard will start with en_US as its locale. A short time later MccTable.updateMccMncConfiguration will be called and it will set the locale to the "proper" value based on the mcc/mnc if you've set persist.always.persist.locale to 1. This allows the testing of SetupWizard running first. Finally I'm using Slog for logging as it makes it easier to debug the interaction of MccTable, SetupWizard and ActivityManagerService. Bug: b10864885 Change-Id: I19709ebf18f6d32af1b1b16ced511d331e145cf7
/frameworks/opt/telephony/src/java/com/android/internal/telephony/MccTable.java
|
e0695876e8a7084cf4eaa8e6c71808f238a853a7 |
|
03-Oct-2013 |
Robert Greenwalt <rgreenwalt@google.com> |
Revert "Stop using the sim mnc/mcc to set wifi country." This reverts commit 78d801a78087b6a2419f0820628d0273df53203f. bug:11064682 Change-Id: I46f5b90de417636d03bfa5932684f0ace68a3f6e
/frameworks/opt/telephony/src/java/com/android/internal/telephony/MccTable.java
|
78d801a78087b6a2419f0820628d0273df53203f |
|
28-Sep-2013 |
Robert Greenwalt <rgreenwalt@google.com> |
Stop using the sim mnc/mcc to set wifi country. bug:10513734 Change-Id: Idac32892db8ff9b5ca4c5bde4f3f3b12f0df1196
/frameworks/opt/telephony/src/java/com/android/internal/telephony/MccTable.java
|
b3537f8ffac71d6c4c263ae6e68d2722febf4622 |
|
02-Aug-2013 |
Elliott Hughes <enh@google.com> |
If telephony wants ASCII casing, it needs to ask for it. http://elliotth.blogspot.com/2012/01/beware-convenience-methods.html Bug: https://code.google.com/p/android/issues/detail?id=58359 Change-Id: I5c2721f36861694928101c771ec6699424cf9aa3
/frameworks/opt/telephony/src/java/com/android/internal/telephony/MccTable.java
|
e64327265b40cbc52e6c07381bc0a80d7e031018 |
|
07-Oct-2011 |
Mattias Petersson <mattias.petersson@sonyericsson.com> |
Add support for MNC=00 This adds support for operators with MNC (Mobile Network Code) zero to add customized resources. For example, it makes it possible to add a folder called "/res/values-mnc00/" in an application. This will cause resources in that folder to be used when MNC is zero. (There is a total of 14 countries that have an operator with MNC zero.) Without this fix, the resource framework gets confused, because MNC 0 is normally used when the MNC is undefined (not set). Bug: 7170488 Change-Id: Icfd39fd0c739216e89446252ea0e7ceba6f002c6
/frameworks/opt/telephony/src/java/com/android/internal/telephony/MccTable.java
|
e452cb2aa9236ebecb090e03a469fa68aef8d497 |
|
27-Feb-2013 |
Elliott Hughes <enh@google.com> |
Fix build. TimeZones was renamed to the more accurate TimeZoneNames. (cherry-pick of 96c87e2f014207dc5c55f7c8fafd1e666080d784.) Change-Id: I52f8b3eb6e5183ba486a68820c7c3af3863ffdb5
/frameworks/opt/telephony/src/java/com/android/internal/telephony/MccTable.java
|
22d85a8e3a575a6d01d2c788587971657dfe20c6 |
|
23-Feb-2013 |
Wink Saville <wink@google.com> |
Clean up member variables. Change-Id: Ib60f350131ade626aca682407ea0b4377b16f6c6
/frameworks/opt/telephony/src/java/com/android/internal/telephony/MccTable.java
|
cbaa45bbf2cab852b6c9c3a887e9f803d4e857ea |
|
23-Feb-2013 |
Wink Saville <wink@google.com> |
Clean up - Add @Overrides where needed. - Update javadoc comments - Remove extra semi-colons - Rename DataConnection.java to DataConnectionBase.java - Rename GsmDataConnection.java to DataConnection.java - Add defaults to switch statements - Remove/fix most "if (false)" statements. Fixed by using a CONSTANT - Fix hidden variables by hoisting to base class or renaming - Tweak some debug output Change-Id: If38de2fdeaacafbf40cdfd7f84dc5c52030ba2a3
/frameworks/opt/telephony/src/java/com/android/internal/telephony/MccTable.java
|
99c2e1d6749cfad2a8ca94a47857d8c3bfc09454 |
|
27-Nov-2012 |
Wink Saville <wink@google.com> |
Use Rlog instead of Log. Change-Id: I2f44193b294513e743526e5c163e7d9a45308b28
/frameworks/opt/telephony/src/java/com/android/internal/telephony/MccTable.java
|
0825495a331bb44df395a0cdb79fab85e68db5d5 |
|
12-Jul-2012 |
Wink Saville <wink@google.com> |
Create telephony-common telephony-common was created by moving some of frameworks/base/telephony to: frameworks/opt/telephony Change-Id: I32cbb5eec1fa239c1587e055c8f7ef4fc48fb62c
/frameworks/opt/telephony/src/java/com/android/internal/telephony/MccTable.java
|