Confirmed users
502
edits
| Line 103: | Line 103: | ||
In order to make gecko use the apn setting, it must be stored under the field '''ril.data.apnSettings'''. Note that not only settings app can change the apn setting but also system app and wappush app (when receiving client provisioning messages). That being said, settings app should match the value of '''ril.data.apnSettings''' to the available apn items in order to display the correct active ones. | In order to make gecko use the apn setting, it must be stored under the field '''ril.data.apnSettings'''. Note that not only settings app can change the apn setting but also system app and wappush app (when receiving client provisioning messages). That being said, settings app should match the value of '''ril.data.apnSettings''' to the available apn items in order to display the correct active ones. | ||
'''ApnSettingsManager''' does the heavy lifting here. When we use '''queryApns#ApnSettingsManager''' to get available apn items, ApnSettingsManger does what we mentioned above and set an '''active''' property directly to the returning apn items. In addition to this, it also provides methods for creating, updating, and removing apn items. All apn panels actually use it under the hood. | '''ApnSettingsManager''' does the heavy lifting here. When we use '''queryApns#ApnSettingsManager''' to get available apn items, ApnSettingsManger does what we mentioned above and set an '''"active"''' property directly to the returning apn items. In addition to this, it also provides methods for creating, updating, and removing apn items. All apn panels actually use it under the hood. | ||
=== Keyboard === | === Keyboard === | ||