a081eb7d8c7dabf82f6dcc1dcf78d4525200645a |
|
04-Mar-2015 |
Neil Fuller <nfuller@google.com> |
Lightweight fix for incorrect locale changes - DO NOT MERGE Previously, if the sim's MCC locale is reported AND the user didn't have a persistent locale setting, then the device locale would change. This modifies the logic to only allow device locale changes if the user has not explicitly set a locale and the user has not completed setup. An MCC-based update is still (erroneously) considered a user-actioned change. This is only intended to affect users that previously had an unrecognized MCC. Android does a better job of recognizing MCCs and we don't want those users that have received an OTA to suddenly experience a locale change. Bug: 19232829 Change-Id: I5b150573ec84f453bff54f3ca331b63e2c4d32d3
/frameworks/opt/telephony/src/java/com/android/internal/telephony/MccTable.java
|
e70617d81dcd42350a737b11c25532e1d43df4ff |
|
22-Jan-2015 |
Legler Wu <legler.wu@mediatek.com> |
[DS] Correct the access method for telephony system property Revise the method to access telephony system property. Add several PROPERTY_XXX_XXX_MSIM for MSIM type system properties. If caller use the old one, it will be dispatched to new one and get by default phone id. Ex. PROPERTY_ICC_OPERATOR_NUMERIC Bug: 18675498 Change-Id: I68b4de1817bb5a34d4a54685332f856e79a39d60
/frameworks/opt/telephony/src/java/com/android/internal/telephony/MccTable.java
|
0dec178a402be98dd0e68bb063f1e4294cbd1d58 |
|
04-Oct-2014 |
Bing Gao <w20090@motorola.com> |
Fix overlay didn't take effect issue Change-Id: Ic7102b03a80fecd213706a67223f746b177e42cb
/frameworks/opt/telephony/src/java/com/android/internal/telephony/MccTable.java
|
ef43e2415dd9e668f05d692dc540d200063e9e6c |
|
30-Sep-2014 |
Elliott Hughes <enh@google.com> |
Better automated fallbacks in MccTable. Rather than keep a very incomplete list of the main language spoken in every country, use CLDR data instead. Also switch to the persist.sys.override_mcc system property for testing this code. Also bring the list of country codes up to date with the 2012 edition of the ITU list. Bug: 17664563 Change-Id: I609619e3ba6f1683afe0e1b755a72e7d93f39b3d
/frameworks/opt/telephony/src/java/com/android/internal/telephony/MccTable.java
|
fc0a491803c3cec2d1c1531ace7d0eaa7cb76eda |
|
25-Sep-2014 |
Elliott Hughes <enh@google.com> |
The countries HU and HR both have an obvious default language. Bug: 17614834 Bug: 17633631 Change-Id: Iecd82e28299548aaf197c8b6a28fb47b1a225bf8
/frameworks/opt/telephony/src/java/com/android/internal/telephony/MccTable.java
|
e6d46f65fd0b091268cd4164d3a22edaf4445b7c |
|
25-Sep-2014 |
Elliott Hughes <enh@google.com> |
Merge "Fix the locale matching logic in MccTable." into lmp-dev
|
f62253c8dc91e37068dade8e40aac427ece7d57b |
|
25-Sep-2014 |
Elliott Hughes <enh@google.com> |
Fix the locale matching logic in MccTable. Bug: 17614129 Change-Id: I4a058b252f9da9173e6bb248e212863e1fe6496f
/frameworks/opt/telephony/src/java/com/android/internal/telephony/MccTable.java
|
230e46bdd850306dcc54ab6038d4d3132f5032ab |
|
11-Apr-2013 |
nfjb73 <nfjb73@motorola.com> |
add capability to initialize default locale from USIM EF_LI or EF_PL. if user has set the defalut locale, the locale from USIM will be ignored. Bug: 17543708 Change-Id: I1f9fa8b73b84f27ef8414bb1fc1c01b4a021c791
/frameworks/opt/telephony/src/java/com/android/internal/telephony/MccTable.java
|
c25bcac2c4c8754faae69efe2fc5c407f66a9240 |
|
18-Jul-2014 |
Narayan Kamath <narayan@google.com> |
Don't restrict locale handling to two letter locales. Use Locale.forLanguageTag where appropriate and compare languages and countries separately. Note that we do all comparisons on locale objects so that the same deprecated language code conversions occur. (cherry picked from commit 37b4053b8f92a1f2a8afeb8d5184dc9b7c35b47b) Change-Id: Ia4ae4b1760a023be103feb9ebf0e6be5f6731ff3
/frameworks/opt/telephony/src/java/com/android/internal/telephony/MccTable.java
|
a8467dd0c524787104b1ccdddc5e8af10ba729ed |
|
13-Jun-2014 |
Wink Saville <wink@google.com> |
Merge kwd to master Change-Id: Idb607c0aa32f80fe4fe1539aedea7a221e9e7f04
/frameworks/opt/telephony/src/java/com/android/internal/telephony/MccTable.java
|
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
|