Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix carrier config option not hidden on a CDMA phone
* The option is added twice, from GsmUmtsOptions and CdmaOptions, and GsmUmtsOptions unconditionally adds it if current phone type is not GSM. This is obviously wrong, and on a CDMA phone the option persists even if it's disabled from CarrierConfig. Once a user selects it, phone app will crash. * To fix it, reverse the initial value of the boolean, so that GsmUmtsOptions won't add the option if current phone type is not GSM. Change-Id: I5a9939bf43a4c17807a0171861a1a76029f5379d
- Loading branch information