SetupWizard : Use MccTable for mcc -> locale lookup

Some sims such as T-Mobile return incorrect languages for their
PL(Preferred languages). Lookup the locale via the MccTable instead,
and fallback to trusting the sim.

Change-Id: I612d4952355ce4a42b35579e1f9aa879417c4cd4
This commit is contained in:
Danesh M
2016-01-27 16:11:09 -08:00
committed by Gerrit Code Review
parent 06aa3eb165
commit 95246f2063
2 changed files with 30 additions and 7 deletions

View File

@@ -16,7 +16,8 @@ LOCAL_STATIC_JAVA_LIBRARIES := \
android-support-v13 \
play \
libphonenumber \
org.cyanogenmod.platform.sdk
org.cyanogenmod.platform.sdk \
telephony-common
# Include res dir from chips
google_play_dir := ../../../external/google/google_play_services/libproject/google-play-services_lib/res